public class LocalSimpleSplitGenerator extends Object implements Generator
| Modifier and Type | Field and Description |
|---|---|
protected int |
chunksize |
protected ConcurrentHashMap<Object,Map<Object,Float>> |
completeDistribution |
protected AlgorithmConfiguration |
config |
protected SpatialProbabilityDistributionGeneric |
distributionModel |
protected List<Object> |
environmentVectors |
protected ExecutorService |
executorService |
protected int |
lastProcessedRecordsNumber |
protected long |
lastTime |
protected int |
numberOfThreadsToUse |
protected ConcurrentLinkedQueue<String> |
probabilityBuffer |
protected int |
processedRecordsCounter |
protected int |
processedSpeciesCounter |
protected int |
spaceVectorsNumber |
protected float |
status |
protected boolean |
stopInterrupt |
protected boolean[] |
threadActivity |
| Constructor and Description |
|---|
LocalSimpleSplitGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
compute() |
GenericAlgorithm |
getAlgorithm() |
String |
getDescription() |
INFRASTRUCTURE |
getInfrastructure() |
List<StatisticalType> |
getInputParameters() |
String |
getLoad() |
StatisticalType |
getOutput() |
String |
getResourceLoad() |
String |
getResources() |
float |
getStatus() |
ALG_PROPS[] |
getSupportedAlgorithms() |
void |
init() |
void |
initializeThreads() |
protected void |
initModel() |
void |
setConfiguration(AlgorithmConfiguration config) |
void |
shutdown() |
protected AlgorithmConfiguration config
protected ExecutorService executorService
protected int numberOfThreadsToUse
protected boolean[] threadActivity
protected boolean stopInterrupt
protected SpatialProbabilityDistributionGeneric distributionModel
protected int processedSpeciesCounter
protected int spaceVectorsNumber
protected long lastTime
protected int lastProcessedRecordsNumber
protected int processedRecordsCounter
protected float status
protected int chunksize
protected ConcurrentLinkedQueue<String> probabilityBuffer
protected ConcurrentHashMap<Object,Map<Object,Float>> completeDistribution
public float getStatus()
getStatus in interface ComputationalAgentpublic String getResourceLoad()
getResourceLoad in interface ComputationalAgentpublic String getResources()
getResources in interface ComputationalAgentpublic void init()
init in interface ComputationalAgentpublic void setConfiguration(AlgorithmConfiguration config)
setConfiguration in interface ComputationalAgentpublic void initializeThreads()
public void shutdown()
shutdown in interface ComputationalAgentpublic void compute()
throws Exception
compute in interface ComputationalAgentExceptionpublic ALG_PROPS[] getSupportedAlgorithms()
getSupportedAlgorithms in interface Generatorpublic INFRASTRUCTURE getInfrastructure()
getInfrastructure in interface ComputationalAgentpublic List<StatisticalType> getInputParameters()
getInputParameters in interface ComputationalAgentpublic StatisticalType getOutput()
getOutput in interface ComputationalAgentpublic GenericAlgorithm getAlgorithm()
getAlgorithm in interface Generatorpublic String getDescription()
getDescription in interface ComputationalAgentCopyright © 2016. All Rights Reserved.