Package jline.solvers.jmt
Class SolverJMT
java.lang.Object
jline.solvers.Solver
jline.solvers.NetworkSolver
jline.solvers.jmt.SolverJMT
-
Nested Class Summary
-
Field Summary
Fields inherited from class jline.solvers.NetworkSolver
avgHandles, model, sn, tranHandles
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCacheStrategyMap
(ReplacementStrategy method) static SolverOptions
static FeatureSet
long
long
double
double
getProbAggr
(Node node) double
getProbAggr
(Node node, Matrix state_a) double
long
getSeed()
double
double
double[]
getTranProbAggr
(Node node) protected boolean
void
void
void
jsimgView
(String jmtPath, SolverOptions options) void
jsimgView
(SolverOptions options) void
void
void
jsimwView
(String jmtPath, SolverOptions options) static String
double
protected void
double
sampleAggr
(Node node) double
sampleAggr
(Node node, int numEvents) double
sampleAggr
(Node node, int numEvents, boolean markActivePassive) sampleSysAggr
(long numEvents) sampleSysAggr
(long numEvents, boolean markActivePassive) saveArrivalStrategy
(DocumentSectionPair documentSectionPair, int ind) saveBufferCapacity
(DocumentSectionPair documentSectionPair, int ind) saveCache
(ElementDocumentPair elementDocumentPair) saveCacheStrategy
(DocumentSectionPair documentSectionPair, int ind) saveClasses
(ElementDocumentPair elementDocumentPair) saveClassSwitchStrategy
(DocumentSectionPair documentSectionPair, int ind) saveDropRule
(DocumentSectionPair documentSectionPair, int ind) saveDropStrategy
(DocumentSectionPair documentSectionPair, int ind) saveEnablingConditions
(DocumentSectionPair documentSectionPair, int ind) saveFiringOutcomes
(DocumentSectionPair documentSectionPair, int ind) saveFiringPriorities
(DocumentSectionPair documentSectionPair, int ind) saveFiringWeights
(DocumentSectionPair documentSectionPair, int ind) saveForkStrategy
(DocumentSectionPair documentSectionPair, int ind) saveGetStrategy
(DocumentSectionPair documentSectionPair) saveInhibitingConditions
(DocumentSectionPair documentSectionPair, int ind) saveJoinStrategy
(DocumentSectionPair documentSectionPair, int ind) saveLinks
(ElementDocumentPair elementDocumentPair) saveLogTunnel
(DocumentSectionPair documentSectionPair, int ind) saveMetric
(ElementDocumentPair elementDocumentPair, Map<Station, Map<JobClass, Metric>> handles) saveMetrics
(ElementDocumentPair elementDocumentPair) saveModeNames
(DocumentSectionPair documentSectionPair, int ind) saveNumberOfServers
(DocumentSectionPair documentSectionPair, int ind) saveNumbersOfServers
(DocumentSectionPair documentSectionPair, int ind) savePlaceCapacities
(DocumentSectionPair documentSectionPair, int ind) savePreemptiveStrategy
(DocumentSectionPair documentSectionPair, int ind) savePreemptiveWeights
(DocumentSectionPair documentSectionPair, int ind) savePutStrategies
(DocumentSectionPair documentSectionPair, int ind) savePutStrategy
(DocumentSectionPair documentSectionPair, int ind) saveRegions
(ElementDocumentPair elementDocumentPair) saveRoutingStrategy
(DocumentSectionPair documentSectionPair, int ind) saveServerVisits
(DocumentSectionPair documentSectionPair) saveServiceStrategy
(DocumentSectionPair documentSectionPair, int ind) saveTimingStrategies
(DocumentSectionPair documentSectionPair, int ind) saveTotalCapacity
(DocumentSectionPair documentSectionPair, int ind) saveXMLHeader
(String logPath) void
setFileName
(String fileName) void
setFilePath
(String filePath) void
setJmtJarPath
(String path) void
setMaxEvents
(long maxEvents) void
setMaxSamples
(long maxSamples) void
setMaxSimulatedTime
(double maxSimulatedTime) void
setSeed
(int seed) void
setSimConfInt
(double simConfInt) void
setSimMaxRelErr
(double simMaxRelErr) static boolean
static void
viewModel
(String jmtPath, String filename, SolverJMT.ViewMode viewMode) static void
viewModel
(String filename, SolverJMT.ViewMode viewMode) static String
writeJMVA
(NetworkStruct sn, String outputFileName, SolverOptions options) writeJSIM
(NetworkStruct sn, String outputFileName) Methods inherited from class jline.solvers.NetworkSolver
getAllSolvers, getAvg, getAvgArvR, getAvgArvRChain, getAvgArvRHandles, getAvgChain, getAvgChainTable, getAvgHandles, getAvgNode, getAvgNodeArvRChain, getAvgNodeChain, getAvgNodeChainTable, getAvgNodeQLenChain, getAvgNodeRespTChain, getAvgNodeTable, getAvgNodeTputChain, getAvgNodeUtilChain, getAvgQLen, getAvgQLenChain, getAvgQLenHandles, getAvgResidT, getAvgResidTHandles, getAvgRespT, getAvgRespTChain, getAvgRespTHandles, getAvgSys, getAvgSysRespT, getAvgSysTable, getAvgSysTput, getAvgTable, getAvgTput, getAvgTputChain, getAvgTputHandles, getAvgUtil, getAvgUtilChain, getAvgUtilHandles, getAvgWaitT, getModel, getTranAvg, getTranHandles, hasDistribResults, hasTranResults, setAvgHandles, setAvgResults, setDistribResults, setModel, setTranAvgResults, setTranHandles, setTranProb
Methods inherited from class jline.solvers.Solver
getName, getOptions, hasResults, isJavaAvailable, isValidOption, listValidOptions, parseOptions, parseOptions, reset, resetRandomGeneratorSeed, runAnalyzerChecks, setChecks, setOptions
-
Field Details
-
XSI_NO_NAMESPACE_SCHEMA_LOCATION
- See Also:
-
FILE_FORMAT
- See Also:
-
JSIMG_PATH
- See Also:
-
-
Constructor Details
-
SolverJMT
-
SolverJMT
-
SolverJMT
-
SolverJMT
-
SolverJMT
-
-
Method Details
-
viewModel
-
viewModel
-
listValidMethods
-
getFeatureSet
-
supports
-
writeJMVA
-
defaultOptions
-
getStruct
-
saveArrivalStrategy
-
saveBufferCapacity
-
saveDropStrategy
-
saveGetStrategy
-
savePutStrategies
-
saveNumberOfServers
-
savePreemptiveStrategy
-
savePreemptiveWeights
-
savePutStrategy
-
saveRoutingStrategy
-
saveServerVisits
-
saveServiceStrategy
-
saveClassSwitchStrategy
public DocumentSectionPair saveClassSwitchStrategy(DocumentSectionPair documentSectionPair, int ind) -
CacheStrategyMap
-
saveCacheStrategy
-
saveLogTunnel
-
saveForkStrategy
-
saveJoinStrategy
-
saveClasses
-
saveLinks
-
saveRegions
-
saveMetric
public ElementDocumentPair saveMetric(ElementDocumentPair elementDocumentPair, Map<Station, Map<JobClass, Metric>> handles) -
saveCache
-
saveMetrics
-
saveXMLHeader
- Throws:
ParserConfigurationException
-
saveTotalCapacity
-
savePlaceCapacities
-
saveDropRule
-
saveEnablingConditions
-
saveInhibitingConditions
public DocumentSectionPair saveInhibitingConditions(DocumentSectionPair documentSectionPair, int ind) -
saveFiringOutcomes
-
saveModeNames
-
saveNumbersOfServers
-
saveTimingStrategies
-
saveFiringPriorities
-
saveFiringWeights
-
getFileName
-
setFileName
-
getJmtJarPath
-
setJmtJarPath
-
getFilePath
-
setFilePath
-
jsimwView
-
jsimwView
-
jsimgView
public void jsimgView() -
jsimgView
-
jsimgView
-
jsimwView
- Throws:
ParserConfigurationException
-
jsimgView
-
writeJSIM
public String writeJSIM(NetworkStruct sn, String outputFileName) throws ParserConfigurationException - Throws:
ParserConfigurationException
-
writeJSIM
- Throws:
ParserConfigurationException
-
getResults
- Overrides:
getResults
in classSolver
-
getResultsJSIM
-
getResultsJMVA
-
getProbNormConstAggr
- Throws:
ParserConfigurationException
-
getProbAggr
-
getProbAggr
-
sampleAggr
- Throws:
IOException
-
sampleAggr
- Throws:
IOException
-
sampleAggr
-
getTranProbAggr
-
sampleSysAggr
-
sampleSysAggr
-
sampleSysAggr
-
probSysStateAggr
public double probSysStateAggr() -
getCdfRespT
-
getCdfRespT
-
getTranCdfRespT
-
getTranCdfRespT
-
getTranCdfPassT
-
getTranCdfPassT
-
getMaxSimulatedTime
public double getMaxSimulatedTime() -
setMaxSimulatedTime
public void setMaxSimulatedTime(double maxSimulatedTime) -
getMaxSamples
public long getMaxSamples() -
setMaxSamples
public void setMaxSamples(long maxSamples) -
getMaxEvents
public long getMaxEvents() -
setMaxEvents
public void setMaxEvents(long maxEvents) -
getSeed
public long getSeed() -
setSeed
public void setSeed(int seed) -
getSimConfInt
public double getSimConfInt() -
setSimConfInt
public void setSimConfInt(double simConfInt) -
getSimMaxRelErr
public double getSimMaxRelErr() -
setSimMaxRelErr
public void setSimMaxRelErr(double simMaxRelErr) -
hasAvgResults
protected boolean hasAvgResults()- Overrides:
hasAvgResults
in classNetworkSolver
-
runAnalyzer
- Specified by:
runAnalyzer
in classSolver
- Throws:
ParserConfigurationException
-