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 void
addTimeEvent
(boolean enter, long when, String clazz, String methodName) static void
destroy()
Destroy the solver context associated with the current thread.evalDeltas
(M move) evalSolution
(S solution) static RandomGenerator
static boolean
static void
reset()
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
-