|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This class represents an annealable entity. The process for the Annealable is thus:
Annealer| Method Summary | |
void |
commitChange(Change change)
Accept a change memento |
double |
getCost()
Get the cost (energy) of the current configuration. |
Change |
makeChange()
Create a memento that represents a permutation of the Annealable. |
| Method Detail |
public Change makeChange()
NOTE: Annealer assumes any changes to the Annealable will invalidate all existing mementos.
public void commitChange(Change change)
change - the change mementopublic double getCost()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||