Package es.urjc.etsii.grafo.util
Class Context
java.lang.Object
es.urjc.etsii.grafo.util.Context
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddTimeEvent(boolean enter, long when, String clazz, String methodName) static voiddestroy()Destroy the solver context associated with the current thread.evalDeltas(M move) evalSolution(S solution) static RandomGeneratorstatic booleanstatic voidreset()Recreate the solver context associated with the current thread.static <T> Future<T> static <T> Future<T> validate(S solution)
-
Constructor Details
-
Context
public Context()
-
-
Method Details
-
destroy
public static void destroy()Destroy the solver context associated with the current thread. Does not affect the context of other threads. -
reset
public static void reset()Recreate the solver context associated with the current thread. Does not affect the context of other threads. -
validate
-
getRandom
-
isExecutionQueueAvailable
public static boolean isExecutionQueueAvailable() -
submit
-
submit
-
getMainObjective
-
getObjectives
-
getObjectivesW
-
evalSolution
-
evalDeltas
-
addTimeEvent
-