|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectInformationRepository
public class InformationRepository
A static class used to distribute information among models
Field Summary | |
---|---|
static boolean |
computationalStepsInUse
the use of computational steps |
static swarm.collections.ArrayImpl |
eSFrameModelSwarmArray
the array of the models |
static swarm.collections.ListImpl |
hibernatedComputationalAssemblerList
the list of the hibernated this list is used to manage the virtually dropped memoryMatrixes |
static swarm.collections.ListImpl |
hibernatedComputationalSpecificationSetList
the list of the hibernated this list is used to manage the virtually dropped memoryMatrixes |
static swarm.collections.ListImpl |
hibernatedMemoryMatrixList
the list of the hibernated memoryMatrixes this list is used to manage the virtually dropped memoryMatrixes |
static swarm.collections.ListImpl |
hibernatedOrderList
the list of the hibernated orders this list is used to manage the virtually dropped orders |
static swarm.collections.ListImpl |
hibernatedUnitList
the list of the hibernated units this list is used to manage the virtually dropped units |
static double[] |
interVisibilityMinLevelVector
the vector of interVisibilityMinLevel |
static int[] |
modelNumbers
the vectors with model numbers |
static int[] |
modelNumbersRandomlyReordered
the vectors with model numbers |
static boolean |
noHistograms
the use of histograms |
static boolean |
redoZeroTimeStepsImm
zero time orders are executed again immediately in the samw unit they are |
static boolean |
sameUnitLifoAssignment
orders are reassigned directly to the unit they are coming from if the next step is the same type of the current one (in LIFO position) |
static boolean[] |
shuffleListsAtEachAssignmentVector
the vector of shuffleListsAtEachAssignment values |
static int |
stratumNumber
the number of strata (models) in this run |
static boolean[] |
uniqueAssignmentInEachCycleVector
the vector of uniqueAssignmentInEachCycle values |
static swarm.collections.ArrayImpl |
unitActivitySpaceArray
the arrays of unitList, unitListIndex, unitActivitySpace |
static swarm.collections.ArrayImpl |
unitListArray
the arrays of unitList, unitListIndex, unitActivitySpace |
static swarm.collections.ArrayImpl |
unitListIndexArray
the arrays of unitList, unitListIndex, unitActivitySpace |
Constructor Summary | |
---|---|
InformationRepository()
|
Method Summary | |
---|---|
static void |
addToHibernatedComputationalAssemblerList(ComputationalAssembler aComputationalAssembler)
adding an order to the hibernatedComputationalAssemblerList |
static void |
addToHibernatedComputationalSpecificationSetList(ComputationalSpecificationSet aComputationalSpecificationSet)
adding an order to the hibernatedComputationalSpecificationSetList |
static void |
addToHibernatedMemoryMatrixList(MemoryMatrix aMemoryMatrix)
adding an order to the hibernatedMemoryMatrixList |
static void |
addToHibernatedOrderList(Order anOrder)
adding an order to the hibernatedOrderList |
static void |
addToHibernatedUnitList(Unit aUnit)
adding a unit to the hibernatedUnitList |
static void |
createArraysAndVectors(swarm.defobj.Zone aZone,
int ln)
the creation of the list memory spaces, once in a run, from the first model |
static boolean |
getComputationalStepsInUse()
getting the computationalStepsInUse status |
static int |
getCountFromHibernatedComputationalAssemblerList()
getting the count of the hibernatedComputationalAssemblerList |
static int |
getCountFromHibernatedComputationalSpecificationSetList()
getting the count of the hibernatedComputationalSpecificationSetList |
static int |
getCountFromHibernatedMemoryMatrixList()
getting the count of the hibernatedMemoryMatrixList |
static int |
getCountFromHibernatedOrderList()
getting the count of the hibernatedOrderList |
static int |
getCountFromHibernatedUnitList()
getting the count of the hibernatedUnitList |
static java.lang.Object |
getESFrameModelSwarm(int stratum)
getting a specific model |
static double |
getInterVisibilityMinLevel(int stratum)
getting a specific interVisibilityMinLevel |
static int |
getModelNumbersRandomlyReordered(int stratum)
getting randomly reordered numbers |
static boolean |
getNoHistograms()
getting no histograms |
static boolean |
getRedoZeroTimeStepsImm()
getting the values of redoZeroTimeStepsImm |
static boolean |
getSameUnitLifoAssignment()
getting the values of sameUnitLifoAssignment |
static boolean |
getShuffleListsAtEachAssignment(int stratum)
getting a specific shuffleListsAtEachAssignment value |
static int |
getStratumNumber()
getting the number of strata in this run |
static boolean |
getUniqueAssignmentInEachCycle(int stratum)
getting a specific uniqueAssignmentInEachCycle value |
static java.lang.Object |
getUnitActivitySpaceFromModel(int stratum)
getting a specific unitActivitySpace |
static java.lang.Object |
getUnitListFromModelSequence(int stratum)
getting a specific unitList from model sequence |
static java.lang.Object |
getUnitListFromReorderedModelSequence(int stratum)
getting a specific unitList from random model sequence |
static java.lang.Object |
getUnitListIndexFromReorderedModelSequence(int stratum)
getting a specific unitListIndex from random model sequence |
static ComputationalAssembler |
removeFromHibernatedComputationalAssemblerList()
removing an order from the hibernatedComputationalAssemblerList |
static ComputationalSpecificationSet |
removeFromHibernatedComputationalSpecificationSetList()
removing an order from the hibernatedComputationalSpecificationSetList |
static MemoryMatrix |
removeFromHibernatedMemoryMatrixList()
removing an order from the hibernatedMemoryMatrixList |
static Order |
removeFromHibernatedOrderList()
removing an order from the hibernatedOrderList |
static Unit |
removeFromHibernatedUnitList()
removing a unit from the hibernatedUnitList |
static void |
setComputationalStepsInUse(boolean s)
setting the computationalStepsInUse status |
static void |
setInformationFromModel(int stratum,
swarm.collections.ListImpl unitList,
swarm.collections.ListIndex unitListIndex,
UnitActivitySpace unitActivitySpace,
double interVisibilityMinLevel,
boolean uniqueAssignmentInEachCycle,
boolean shuffleListsAtEachAssignment,
boolean sameUnitLifoAssignment0,
boolean redoZeroTimeStepsImm0)
setting information, from each model |
static void |
setInformationFromObserver(swarm.collections.ArrayImpl modelA)
setting information, from the observer |
static void |
setModelSequence()
shuffling in each cycle, from the first model schedule, the model order |
static void |
setNoHistograms(boolean nh)
setting no histograms |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static boolean computationalStepsInUse
public static swarm.collections.ArrayImpl eSFrameModelSwarmArray
public static swarm.collections.ArrayImpl unitListArray
public static swarm.collections.ArrayImpl unitListIndexArray
public static swarm.collections.ArrayImpl unitActivitySpaceArray
public static double[] interVisibilityMinLevelVector
public static boolean[] uniqueAssignmentInEachCycleVector
public static boolean[] shuffleListsAtEachAssignmentVector
public static int[] modelNumbers
public static int[] modelNumbersRandomlyReordered
public static boolean noHistograms
public static int stratumNumber
public static boolean sameUnitLifoAssignment
public static boolean redoZeroTimeStepsImm
public static swarm.collections.ListImpl hibernatedUnitList
public static swarm.collections.ListImpl hibernatedOrderList
public static swarm.collections.ListImpl hibernatedMemoryMatrixList
public static swarm.collections.ListImpl hibernatedComputationalSpecificationSetList
public static swarm.collections.ListImpl hibernatedComputationalAssemblerList
Constructor Detail |
---|
public InformationRepository()
Method Detail |
---|
public static void createArraysAndVectors(swarm.defobj.Zone aZone, int ln)
public static void setInformationFromObserver(swarm.collections.ArrayImpl modelA)
public static void setInformationFromModel(int stratum, swarm.collections.ListImpl unitList, swarm.collections.ListIndex unitListIndex, UnitActivitySpace unitActivitySpace, double interVisibilityMinLevel, boolean uniqueAssignmentInEachCycle, boolean shuffleListsAtEachAssignment, boolean sameUnitLifoAssignment0, boolean redoZeroTimeStepsImm0)
public static void setModelSequence()
public static java.lang.Object getUnitListFromReorderedModelSequence(int stratum)
public static java.lang.Object getUnitListFromModelSequence(int stratum)
public static java.lang.Object getUnitListIndexFromReorderedModelSequence(int stratum)
public static java.lang.Object getUnitActivitySpaceFromModel(int stratum)
public static double getInterVisibilityMinLevel(int stratum)
public static boolean getUniqueAssignmentInEachCycle(int stratum)
public static boolean getShuffleListsAtEachAssignment(int stratum)
public static java.lang.Object getESFrameModelSwarm(int stratum)
public static int getStratumNumber()
public static boolean getComputationalStepsInUse()
public static void setComputationalStepsInUse(boolean s)
public static int getModelNumbersRandomlyReordered(int stratum)
public static void addToHibernatedUnitList(Unit aUnit)
public static Unit removeFromHibernatedUnitList()
public static int getCountFromHibernatedUnitList()
public static void addToHibernatedOrderList(Order anOrder)
public static Order removeFromHibernatedOrderList()
public static int getCountFromHibernatedOrderList()
public static void addToHibernatedMemoryMatrixList(MemoryMatrix aMemoryMatrix)
public static MemoryMatrix removeFromHibernatedMemoryMatrixList()
public static int getCountFromHibernatedMemoryMatrixList()
public static void addToHibernatedComputationalSpecificationSetList(ComputationalSpecificationSet aComputationalSpecificationSet)
public static ComputationalSpecificationSet removeFromHibernatedComputationalSpecificationSetList()
public static int getCountFromHibernatedComputationalSpecificationSetList()
public static void addToHibernatedComputationalAssemblerList(ComputationalAssembler aComputationalAssembler)
public static ComputationalAssembler removeFromHibernatedComputationalAssemblerList()
public static int getCountFromHibernatedComputationalAssemblerList()
public static boolean getSameUnitLifoAssignment()
public static boolean getRedoZeroTimeStepsImm()
public static void setNoHistograms(boolean nh)
public static boolean getNoHistograms()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |