Package jline.lang.sections
Class CacheClassSwitcher
- All Implemented Interfaces:
Serializable
A class switcher section recording cache hits and misses
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class jline.lang.sections.ClassSwitcher
ClassSwitcher.CSFunInput
-
Field Summary
Modifier and TypeFieldDescriptionFields inherited from class jline.lang.sections.ClassSwitcher
csFun
Fields inherited from class jline.lang.sections.ServiceSection
numberOfServers, serviceProcesses
Fields inherited from class jline.lang.NetworkElement
name
-
Constructor Summary
ConstructorDescriptionCacheClassSwitcher
(List<JobClass> jobClasses, int items, Matrix capacity) CacheClassSwitcher
(List<JobClass> jobClasses, int items, Matrix capacity, int levels) -
Method Summary
Modifier and TypeMethodDescriptiondouble
simpleHitMiss
(int r, int s) double
simpleHitMiss
(int r, int s, Matrix state) double
simpleHitMiss
(int r, int s, Matrix state, Matrix statep) Methods inherited from class jline.lang.sections.ClassSwitcher
applyCsFun
Methods inherited from class jline.lang.sections.ServiceSection
containsJobClass, getServiceDistribution, getServiceProcess, removeServiceProcess, setServiceProcesses
Methods inherited from class jline.lang.sections.Section
getClassName
Methods inherited from class jline.lang.NetworkElement
getName
-
Field Details
-
hitClass
-
missClass
-
actualHitProb
-
actualMissProb
-
inputJobClasses
-
-
Constructor Details
-
CacheClassSwitcher
-
CacheClassSwitcher
-
-
Method Details
-
simpleHitMiss
public double simpleHitMiss(int r, int s) -
simpleHitMiss
-
simpleHitMiss
-