EasyLocalpp  3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
statemanager.hh File Reference
#include <iostream>
#include <vector>
#include <cmath>
#include <stdexcept>
#include "easylocal/helpers/costcomponent.hh"
#include "easylocal/utils/types.hh"
Include dependency graph for statemanager.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EasyLocal::Core::CostStructure< CFtype >
 
class  EasyLocal::Core::StateManager< Input, State, CFtype >
 This component is responsible for all operations on the state which are independent of the neighborhood definition, such as generating a random state or computing the cost of a state. More...
 

Namespaces

 EasyLocal
 
 EasyLocal::Core
 

Macros

#define HARD_WEIGHT_SET
 

Functions

template<typename CFtype >
CostStructure< CFtype > EasyLocal::Core::operator+ (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<typename CFtype >
CostStructure< CFtype > EasyLocal::Core::operator- (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator< (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator< (CFtype c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator< (const CostStructure< CFtype > &cs1, CFtype c2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator< (OtherType c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator< (const CostStructure< CFtype > &cs1, OtherType c2)
 
template<class CFtype >
bool EasyLocal::Core::operator<= (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator<= (CFtype c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator<= (const CostStructure< CFtype > &cs1, CFtype c2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator<= (OtherType c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator<= (const CostStructure< CFtype > &cs1, OtherType c2)
 
template<class CFtype >
bool EasyLocal::Core::operator== (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator== (CFtype c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator== (const CostStructure< CFtype > &cs1, CFtype c2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator== (OtherType c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator== (const CostStructure< CFtype > &cs1, OtherType c2)
 
template<class CFtype >
bool EasyLocal::Core::operator>= (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator>= (CFtype c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator>= (const CostStructure< CFtype > &cs1, CFtype c2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator>= (OtherType c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator>= (const CostStructure< CFtype > &cs1, OtherType c2)
 
template<class CFtype >
bool EasyLocal::Core::operator> (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator> (CFtype c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator> (const CostStructure< CFtype > &cs1, CFtype c2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator> (OtherType c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator> (const CostStructure< CFtype > &cs1, OtherType c2)
 
template<class CFtype >
bool EasyLocal::Core::operator!= (const CostStructure< CFtype > &cs1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator!= (CFtype c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype >
bool EasyLocal::Core::operator!= (const CostStructure< CFtype > &cs1, CFtype c2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator!= (OtherType c1, const CostStructure< CFtype > &cs2)
 
template<class CFtype , typename OtherType >
bool EasyLocal::Core::operator!= (const CostStructure< CFtype > &cs1, OtherType c2)
 
template<typename CFtype >
std::ostream & EasyLocal::Core::operator<< (std::ostream &os, const CostStructure< CFtype > &cc)
 

Variables

const int EasyLocal::Core::HARD_WEIGHT = 1000
 

Macro Definition Documentation

#define HARD_WEIGHT_SET

Definition at line 342 of file statemanager.hh.