public class LSStatistics
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
LocalSolver |
getLocalSolver()
Returns the LocalSolver object associated to these statistics.
|
long |
getNbAcceptedMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
long |
getNbImprovingMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
long |
getNbInfeasibleMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
long |
getNbIterations()
Gets the number of iterations.
|
long |
getNbMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
long |
getNbRejectedMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
double |
getPercentAcceptedMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
double |
getPercentImprovingMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
double |
getPercentInfeasibleMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
double |
getPercentRejectedMoves()
Deprecated.
As of 9.0, this parameter gives an inaccurate view of LocalSolver search.
|
int |
getRunningTime()
Gets the running time in seconds.
|
int |
hashCode() |
java.lang.String |
toString()
Returns a String representation of the statistics.
|
public LocalSolver getLocalSolver()
public int getRunningTime()
LSState.Paused
or LSState.Stopped
.public long getNbIterations()
LSState.Paused
or LSState.Stopped
.@Deprecated public long getNbMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public long getNbAcceptedMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public long getNbImprovingMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public long getNbRejectedMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public long getNbInfeasibleMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public double getPercentAcceptedMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public double getPercentImprovingMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public double getPercentRejectedMoves()
LSState.Paused
or LSState.Stopped
.@Deprecated public double getPercentInfeasibleMoves()
LSState.Paused
or LSState.Stopped
.public java.lang.String toString()
LSState.Paused
or LSState.Stopped
. Useful for debugging
or logging purposes.toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object