This object represents Delta computed by gain and the decision if the object is taken or not. More...
#include <simulated_annealing.hpp>
Public Member Functions | |
is_chosen () | |
constructor (from 0) represents the largest possible value of unchosen element If some element is bigger than zero, then this element is chosen. | |
bool | operator< (is_chosen other) const |
operator<. Chosen move is always bigger then unchosen More... | |
bool | operator> (is_chosen other) const |
operator> More... | |
bool | chosen () const |
chosen | |
bool | delta () const |
delta | |
Static Public Member Functions | |
static is_chosen | make_chosen (Delta d) |
creates is_chosen for Move object More... | |
static is_chosen | make_unchosen (Delta d) |
creates is_chosen for Move which is not chosen More... | |
This object represents Delta computed by gain and the decision if the object is taken or not.
Delta |
Definition at line 267 of file simulated_annealing.hpp.
|
inlinestatic |
creates is_chosen for Move object
d |
Definition at line 273 of file simulated_annealing.hpp.
|
inlinestatic |
creates is_chosen for Move which is not chosen
d |
Definition at line 280 of file simulated_annealing.hpp.
|
inline |
operator<. Chosen move is always bigger then unchosen
other |
Definition at line 299 of file simulated_annealing.hpp.
|
inline |