|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectautoweka.Trajectory
public class Trajectory
Class that captures a trajectory of an optimisation run
Nested Class Summary | |
---|---|
static class |
Trajectory.Point
Representation of a single point along the optimisation run |
Constructor Summary | |
---|---|
Trajectory(java.lang.String seed)
makes a new empty trajectory with the given seed |
Method Summary | |
---|---|
void |
addPoint(Trajectory.Point newPoint)
Inserts a new point onto the end of this trajectory |
Trajectory.Point |
getLastPoint()
Gets the last point in the trajectory, ie the best one |
Trajectory.Point |
getNextPoint(double time)
Gets the next point in the trajectory after the given time |
int |
getNumEvaluations()
Gets the total number of evaluations that were performed |
int |
getNumMemOutEvaluations()
Gets the number of evaluations that hit the memory limit (-1 if not recorded) |
int |
getNumTimedOutEvaluations()
Gets the number of evaluations that timed out (-1 if not recorded) |
Trajectory.Point |
getPointAtTime(double time)
Gets the point in the trajectory that's closest to this time |
java.util.List<Trajectory.Point> |
getPoints()
Gets all the points inside this trajectory |
java.lang.String |
getSeed()
Gets the seed for this trajectory |
void |
setEvaluationCounts(int numTotalEvaluations,
int numMemOutEvaluations,
int numTimeOutEvaluations)
Set all the statistics regarding the number of evaluations performed for this trajectory |
void |
truncateToTime(float maxTime)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Trajectory(java.lang.String seed)
Method Detail |
---|
public java.lang.String getSeed()
public java.util.List<Trajectory.Point> getPoints()
public void addPoint(Trajectory.Point newPoint)
public Trajectory.Point getPointAtTime(double time)
public Trajectory.Point getNextPoint(double time)
public Trajectory.Point getLastPoint()
public void truncateToTime(float maxTime)
public void setEvaluationCounts(int numTotalEvaluations, int numMemOutEvaluations, int numTimeOutEvaluations)
public int getNumEvaluations()
public int getNumMemOutEvaluations()
public int getNumTimedOutEvaluations()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |