- java.lang.Object
-
- fr.inria.mochy.core.abstractClass.PhysicalModel
-
- fr.inria.mochy.core.equalization.EquNet
-
- fr.inria.mochy.core.equalization.EquNetV1Mov
-
public class EquNetV1Mov extends EquNet
this is the first version of Equalization Net with moving block (multiple tokens can be in the same place) V1 : if the previous token is at a stop the timetobrowse calculated is sampled
-
-
Field Summary
-
Fields inherited from class fr.inria.mochy.core.equalization.EquNet
blocked, enabled, fireable, garage, initialState, places, transitions
-
Fields inherited from class fr.inria.mochy.core.abstractClass.PhysicalModel
discreteStep, fname, nbDiscreteSteps, nbTokens, startLogs, stepsNb, timeElapsed, tokens
-
-
Constructor Summary
Constructors Constructor Description EquNetV1Mov(String fname)
instantiate EquNetV1Mov, set the path of the input file and set the neural network used for the regulation
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
discreteMove(TransitionAbstract onet, String logFile, float currentTime, boolean enableLogs)
perform a discrete move e.g.float
minimumClock()
return the minimum time to advance in order to update the status of tokens or transitionsvoid
progressTime(Float delta)
advance the time of the delta parameter value and update the status of the transitions (blocked, fireable...)-
Methods inherited from class fr.inria.mochy.core.equalization.EquNet
addInFlow, addOutFlow, addToken, discreteMove, discreteMove, drop, dropConfig, findPlace, findTransition, findTransition, fireableTransition, getALPHA, getAverage, getAvgSpeed, getClock, getControlPlace, getControlPlaces, getCurrentAvgSpeed, getCurrentMaxSpeed, getCurrentMinSpeed, getDistanceInNetwork, getDistanceInPlace, getEnabled, getFirable, getLastTokenSpeed, getLastTokenTtb, getNbDiscreteSteps, getPlaces, getRANGE_NOISE, getSpeed, getStandardDeviation, getStandardDeviation, getTimeElapsed, getTimeToBrowse, getTokens, getTotalDistance, getTransitionClock, getTransitions, getWeibullCoef, handleLine, insertToken, isBlocked, isDiscreteMove, isGaussian, isWeibull, loadFile, maxAllowedTimedMove, multipleSteps, numberBlocked, numberFireable, reset, resetSpeedData, setALPHA, setBunchingState, setRANGE_NOISE
-
Methods inherited from class fr.inria.mochy.core.abstractClass.PhysicalModel
getStepsNb, isDiscreteStep
-
-
-
-
Constructor Detail
-
EquNetV1Mov
public EquNetV1Mov(String fname)
instantiate EquNetV1Mov, set the path of the input file and set the neural network used for the regulation
-
-
Method Detail
-
progressTime
public void progressTime(Float delta)
Description copied from class:PhysicalModel
advance the time of the delta parameter value and update the status of the transitions (blocked, fireable...)- Specified by:
progressTime
in classPhysicalModel
-
discreteMove
public String discreteMove(TransitionAbstract onet, String logFile, float currentTime, boolean enableLogs)
Description copied from class:PhysicalModel
perform a discrete move e.g. a transition will be fired and a token will change of place- Specified by:
discreteMove
in classPhysicalModel
-
minimumClock
public float minimumClock()
Description copied from class:PhysicalModel
return the minimum time to advance in order to update the status of tokens or transitions- Specified by:
minimumClock
in classPhysicalModel
-
-