#include <coloring_mcmc.hpp>
Inheritance diagram for Arak::NullColoringMove:
Definition at line 50 of file coloring_mcmc.hpp.
Public Member Functions | |
NullColoringMove () | |
void | execute (Coloring &c) |
Updates the supplied coloring according to this move. | |
void | undo (Coloring &c) |
Updates the supplied Coloring so that the effects of performing this move are undone. | |
~NullColoringMove () | |
Static Public Attributes | |
const NullColoringMove | instance |
A static instance of a null coloring move. |
|
Definition at line 54 of file coloring_mcmc.hpp. |
|
Definition at line 57 of file coloring_mcmc.hpp. |
|
Updates the supplied coloring according to this move. It is an error to call this method if the move is not valid for the supplied coloring.
Implements Arak::ColoringMove. Definition at line 55 of file coloring_mcmc.hpp. |
|
Updates the supplied Coloring so that the effects of performing this move are undone. The semantics of this method ensure that applying execute(Coloring&) and then undo(Coloring&) to the same coloring leaves the coloring invariant. It is an error to call this method if this undo is not valid for the supplied coloring.
Implements Arak::ColoringMove. Definition at line 56 of file coloring_mcmc.hpp. |
|
A static instance of a null coloring move.
Definition at line 5 of file coloring_mcmc.cpp. |