|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsavi.alg.SimAnnealingSkeleton
savi.alg.SimAnnealingBasicSolver
savi.alg.SimAnnealingStepSolver
public class SimAnnealingStepSolver
Instance of SimAnnealingSkeleton, basic class for solving with simulated annealing algorithm. Solving can be stepped.
Nested Class Summary | |
---|---|
protected static class |
SimAnnealingStepSolver.Steps
State type enumeration, currently imlemented are EQUILIBRIUM and COOL. |
Field Summary | |
---|---|
protected SimAnnealingStepSolver.Steps |
nextStep
State variable |
Fields inherited from class savi.alg.SimAnnealingSkeleton |
---|
coolFactor, finalTemp, state, temp |
Constructor Summary | |
---|---|
SimAnnealingStepSolver(StateSkeleton s,
double temp,
double finalTemp,
double coolFactor,
int equilibSteps)
Creates a new instance of SimAnnealingStepSolver, initialize startup variables. |
Method Summary | |
---|---|
boolean |
isEnd()
Used for end recognition. |
void |
makeStep()
This method makes one step of SA algorithm. |
Methods inherited from class savi.alg.SimAnnealingBasicSolver |
---|
cool, equilibrium, findOptimalStartTemp, frozen, solve |
Methods inherited from class savi.alg.SimAnnealingSkeleton |
---|
getState, getTemp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected SimAnnealingStepSolver.Steps nextStep
Constructor Detail |
---|
public SimAnnealingStepSolver(StateSkeleton s, double temp, double finalTemp, double coolFactor, int equilibSteps)
s
- Initial statetemp
- Starting temperature valuefinalTemp
- Final temperature valuecoolFactor
- Cooling factorMethod Detail |
---|
public void makeStep()
public boolean isEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |