|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjphase.generator.PhaseGenerator
public abstract class PhaseGenerator
This abstract class defines the behaviour that any Phase-Type random number generator should have
| Field Summary | |
|---|---|
protected PhaseVar |
var
Phase variable from which the random numbers must be generated |
| Constructor Summary | |
|---|---|
PhaseGenerator(PhaseVar var)
Construcs a new PhaseGenerator through its initialization |
|
| Method Summary | |
|---|---|
abstract double |
getRandom()
|
abstract double[] |
getRandom(int num)
|
PhaseVar |
getVar()
|
protected abstract void |
initialize()
Initialize the cutoff values and the aliases for the initial probability distribution and the transition probability matrix |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected PhaseVar var
| Constructor Detail |
|---|
public PhaseGenerator(PhaseVar var)
var - variable from which the random numbers must be generated| Method Detail |
|---|
public abstract double getRandom()
public abstract double[] getRandom(int num)
num - Number of variates to be generated
protected abstract void initialize()
public PhaseVar getVar()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||