- java.lang.Object
-
- fr.inria.mochy.core.abstractClass.PhysicalModel
-
- fr.inria.mochy.core.equalization.EquNet
-
- fr.inria.mochy.core.equalization.EquNetNeural
-
- fr.inria.mochy.core.equalization.EquNetNeuralMov
-
public class EquNetNeuralMov extends EquNetNeural
An EqualizationNet EquNetNeural model with transitions, places and their state. It is loaded from a net file. The time to browse is calculated with a neural network/IA. It uses the moving blocks method.
-
-
Field Summary
-
Fields inherited from class fr.inria.mochy.core.equalization.EquNetNeural
nnet
-
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 EquNetNeuralMov(String fname)
instantiate EquNetNeuralMov, 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.EquNetNeural
displayWeights, getBeta, getNnet, getNnetPath, getTargetSpeed, loadFile, reset, saveNeuralNetwork, setNeuralNetwork
-
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, maxAllowedTimedMove, multipleSteps, numberBlocked, numberFireable, resetSpeedData, setALPHA, setBunchingState, setRANGE_NOISE
-
Methods inherited from class fr.inria.mochy.core.abstractClass.PhysicalModel
getStepsNb, isDiscreteStep
-
-
-
-
Constructor Detail
-
EquNetNeuralMov
public EquNetNeuralMov(String fname) throws FileNotFoundException
instantiate EquNetNeuralMov, set the path of the input file and set the neural network used for the regulation- Throws:
FileNotFoundException
-
-
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
-
-