Package com.slave.application.engines
Class EvolutionEngine
java.lang.Object
java.lang.Thread
com.slave.application.engines.EvolutionEngine
- All Implemented Interfaces:
Runnable
Evolution Engine Class
This class implements the evolution engine for DECS-Slave instances.
- Version:
- 1.0
- Author:
- Bruno Guiomar
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsFields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
ConstructorsConstructorDescriptionEvolutionEngine(String problemCode, String distribution, String islandCode, String slaveAddress) Class Constructor -
Method Summary
Modifier and TypeMethodDescriptionprivate voidStarts the inference of a distributed evaluation problemprivate voidStarts the inference of a island model distribution problemvoidrun()Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, suspend, threadId, toString, yield
-
Field Details
-
problemCode
-
islandCode
-
distribution
-
slaveAddress
-
-
Constructor Details
-
EvolutionEngine
public EvolutionEngine(String problemCode, String distribution, String islandCode, String slaveAddress) Class Constructor- Parameters:
problemCode- Problem short codedistribution- Problem distribution methodislandCode- Island short codeslaveAddress- DECS-Slave instance network address (IP)
-
-
Method Details
-
run
public void run() -
distEvalSlaveInference
private void distEvalSlaveInference()Starts the inference of a distributed evaluation problem -
islandsSlaveInference
private void islandsSlaveInference()Starts the inference of a island model distribution problem
-