- 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.EquNetNeuralFix
-
public class EquNetNeuralFix 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 fixed 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 EquNetNeuralFix(String fname)
instantiate EquNetNeuralFix, set the input file path and the neural network used as 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
-
EquNetNeuralFix
public EquNetNeuralFix(String fname) throws FileNotFoundException
instantiate EquNetNeuralFix, set the input file path and the neural network used as 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
-
-