umontreal.iro.lecuyer.contactcenters.ctmc.splitmerge
Class Replication
java.lang.Object
umontreal.iro.lecuyer.contactcenters.ctmc.splitmerge.Replication
- All Implemented Interfaces:
- Cloneable
public class Replication
- extends Object
- implements Cloneable
Replication
public Replication(CallCenterCTMC ctmc,
CallCenterCounters counters,
boolean subgradientOnly,
int[] lowerStaffing,
int[] upperStaffing,
RateChangeInfo[] changes)
changePeriod
public void changePeriod(CallCenterCTMC ctmcP,
CallCenterCounters countersProto,
int[] lowerStaffing,
int[] upperStaffing,
int p,
RateChangeInfo[] changes)
simulateStep
public Replication[] simulateStep(int bits)
getMinNumSplit
public int getMinNumSplit()
finish
public void finish()
splitNewPeriod
public Replication[] splitNewPeriod(CallCenterCTMC ctmc)
merge
public void merge(Replication other)
getCTMC
public CallCenterCTMC getCTMC()
getCTMCHashCode
public int getCTMCHashCode()
getTrajectories
public Trajectory[] getTrajectories()
clone
public Replication clone()
- Overrides:
clone
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
getLowerStaffing
public int[] getLowerStaffing()
getUpperStaffing
public int[] getUpperStaffing()
To submit a bug or ask questions, send an e-mail to
Richard Simard.