- java.lang.Object
-
- fr.inria.mochy.core.abstractClass.PhysicalModel
-
- fr.inria.mochy.core.equalization.EquNet
-
- fr.inria.mochy.core.equalization.EquNetV3Mov
-
public class EquNetV3Mov extends EquNet
this is the third version ofEqualization Net with mov block (multiple tokens can be in a place) V3 : if the previous speed is 0 to calcul the time for a new token we calculate the speed the token should be if it were in the next place
-
-
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 EquNetV3Mov(String fname)
-
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
-
EquNetV3Mov
public EquNetV3Mov(String fname)
-
-
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
-
-