All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- ABNORMAL_INPUT.
Static variable in class simula.SimulaException
-
- activate(Process).
Method in class simula.simset.simulation.Simulation
- Activate immediately the given process.
- activate_after(Process, Process).
Method in class simula.simset.simulation.Simulation
- Activates the first given process after the second one.
- activate_at(Process, double, boolean).
Method in class simula.simset.simulation.Simulation
- Activates the given process at the given time.
- activate_before(Process, Process).
Method in class simula.simset.simulation.Simulation
- Activates the first given process before the second one.
- activate_delay(Process, double, boolean).
Method in class simula.simset.simulation.Simulation
- Activates the given process at the given time from now.
- ACTIVATE_SCHEDULED.
Static variable in class simula.SimulaException
-
- ACTIVE.
Static variable in class simula.simset.simulation.Process
- Active status constant.
- asBoolean().
Method in class simula.random.BooleanValue
- Returns the encapsulated boolean.
- asBoolean().
Method in class simula.random.Value
- Returns a boolean representation of the value.
- asInteger().
Method in class simula.random.BooleanValue
- Returns the encapsulated boolean represented as an integer value.
- asInteger().
Method in class simula.random.IntegerValue
- Returns the encapsulated integer number.
- asInteger().
Method in class simula.random.Value
- Returns an integer representation of the value.
- asReal().
Method in class simula.random.BooleanValue
- Returns the encapsulated boolean represented as a real value.
- asReal().
Method in class simula.random.IntegerValue
- Returns the encapsulated integer value converted to a floating point number.
- asReal().
Method in class simula.random.RealValue
- Drawing a real value is the only meaningfull method.
- asReal().
Method in class simula.random.Value
- Returns a real representation of the value.
- Bernoulli(double).
Constructor for class simula.random.Bernoulli
- Creates a new Bernoulli-distributed generator using the current time as
seed and the given success probability to model the distribution.
- Bernoulli(long, double).
Constructor for class simula.random.Bernoulli
- Creates a new Bernoulli-distributed generator using the given
seed to initialize it and the given success probability to
model it.
- Bernoulli(RandomEngine, double).
Constructor for class simula.random.Bernoulli
- Creates a new Bernoulli-distributed generator using the given pseudo-random
engine and the given success probability to model the distribution.
- BOOLEAN_TYPE.
Static variable in class simula.random.Generator
- Identifies a boolean valued generator.
- cancel(Process).
Method in class simula.simset.simulation.Simulation
- Cancel the given process from the event list.
- cardinal().
Method in class simula.simset.Head
- Returns the number of elements of the list.
- clear().
Method in class simula.simset.Head
- Clears the list.
- current().
Method in class simula.simset.simulation.Simulation
- Returns the currently active process.
- currProcess.
Variable in class simula.simset.simulation.Simulation
- Currently active process.
- density(double).
Method in class simula.random.Bernoulli
- Returns the value of the density in the given point.
- density(double).
Method in class simula.random.Negexp
- Returns the value of the density in the given point.
- density(double).
Method in class simula.random.Normal
- Returns the value of the density in the given point.
- density(double).
Method in class simula.random.Uniform
- Return the value of the density in the given point
- density(int).
Method in class simula.random.Poisson
- Returns the value of the density in the given point.
- density(int).
Method in class simula.random.Randint
- Returns the type of the extracted value.
- destroy().
Method in class simula.simset.simulation.Simulation
- Kills all sctive threads.
- Discrete(double[]).
Constructor for class simula.random.Discrete
- Creates a new generator using the java standard engine and the current
time as initial seed.
- Discrete(long, double[]).
Constructor for class simula.random.Discrete
- Creates a new generator using the java standard engine.
- Discrete(RandomEngine, double[]).
Constructor for class simula.random.Discrete
- Creates a new generator using the given engine.
- draw().
Method in class simula.random.Bernoulli
- Draws a boolean value according to the Bernoulli distribution.
- draw().
Method in class simula.random.Discrete
- Draws a value from the generator.
- draw().
Method in class simula.random.Erlang
- Draws a value from the generator.
- draw().
Method in class simula.random.Generator
- Draws a value from the generator: its type can be read with the
type
method.
- draw().
Method in class simula.random.Histd
- Draws a value from the generator.
- draw().
Method in class simula.random.Linear
- Draws a value from the generator.
- draw().
Method in class simula.random.Negexp
- Draws a value from the generator.
- draw().
Method in class simula.random.Normal
- Draws a value from the generator.
- draw().
Method in class simula.random.Poisson
- Draws a value from the generator.
- draw().
Method in class simula.random.Randint
- Draws a value from the generator.
- draw().
Method in class simula.random.Uniform
- Draws a value with a uniform probability in real segment [a,b]
- dump().
Method in class simula.simset.simulation.Simulation
- Debug function used to dump scheduling informations.
- empty().
Method in class simula.simset.Head
- Returns
True
if the list is empty, False
otherwise
- end().
Method in class simula.simset.simulation.Simulation
- Kills all sctive threads.
- entier(double).
Static method in class simula.Lang
- Returns the greatest integer BELOW the parameter.
- Erlang(int, int).
Constructor for class simula.random.Erlang
- Creates a new Erlang generator using the standard engine and the current time as seed.
- Erlang(long, int, int).
Constructor for class simula.random.Erlang
- Creates a new Erlang generator using the standard engine with the given seed.
- Erlang(RandomEngine, int, int).
Constructor for class simula.random.Erlang
- Creates a new Erlang generator using the given engine.
- evTime.
Variable in class simula.simset.simulation.Process
- The time when the process will be acive.
- evtime().
Method in class simula.simset.simulation.Process
- If this process is scheduled, returns the time when will become active.
- evtime(double).
Method in class simula.simset.simulation.Process
- Sets the time when the process will be active.
- FIELD_TOO_SHORT.
Static variable in class simula.SimulaException
-
- finished().
Method in class simula.simset.simulation.Simulation
- Returns the simulation status.
- first().
Method in class simula.simset.Head
- Returns the first element of the list.
- first(Link).
Method in class simula.simset.Head
- Sets the first element of the list.
- firstThread.
Variable in class simula.simset.simulation.Simulation
-
- follow(Linkage).
Method in class simula.simset.Link
- This has a similar action to precede, except that
this method inserts this object after the parameter if this is a
Link
object, otherwise places it as the first object in
the given list.
- Generator().
Constructor for class simula.random.Generator
-
- Head().
Constructor for class simula.simset.Head
- Initialize an empty list.
- Histd(double[]).
Constructor for class simula.random.Histd
-
Creates a new Histd generator using the java standard engine.
- Histd(long, double[]).
Constructor for class simula.random.Histd
- Creates a new Histd generator using the java standard engine and the given seed.
- Histd(RandomEngine, double[]).
Constructor for class simula.random.Histd
-
Creates a new Histd generator using the given engine.
- hold(double).
Method in class simula.simset.simulation.Simulation
- Suspends the currently active process for the given amount of time.
- idle().
Method in class simula.simset.simulation.Process
- Returns
True
if the process is passive or terminated,
False
if it is scheduled.
- IDLE_PROCESS.
Static variable in class simula.SimulaException
-
- inint().
Static method in class simula.Lang
- Returns an integer number retrieved from the input.
- inreal().
Static method in class simula.Lang
- Returns a real number retrieved from the input.
- INTEGER_TYPE.
Static variable in class simula.random.Generator
- Identifies an integer valued generator.
- into(Head).
Method in class simula.simset.Link
- If
_list
refers to an existing linked list, this method
appends the object at the end of that list; otherwise it is removed
from any previous list it might have belonged to.
- IO_EXCEPTION.
Static variable in class simula.SimulaException
-
- Lang().
Constructor for class simula.Lang
-
- last().
Method in class simula.simset.Head
- Returns the last element of the list.
- last(Link).
Method in class simula.simset.Head
- Sets the last element of the list.
- lastitem().
Static method in class simula.Lang
- Returns
True
if there are other items in the input buffer.
- lastThread.
Variable in class simula.simset.simulation.Simulation
-
- Linear(double[], double[]).
Constructor for class simula.random.Linear
- Creates a new Linear generator using the standard engine and the current time as seed.
- Linear(long, double[], double[]).
Constructor for class simula.random.Linear
- Creates a new Linear generator using the standard engine with the given seed.
- Linear(RandomEngine, double[], double[]).
Constructor for class simula.random.Linear
- Creates a new Linear generator using the given engine.
- Link().
Constructor for class simula.simset.Link
- The new object doesn't belong to any list.
- LINK_TO_NULL.
Static variable in class simula.SimulaException
-
- Linkage().
Constructor for class simula.simset.Linkage
- Initialize this element with neither previous nor next element.
- list.
Variable in class simula.simset.Link
- This is a reference to the list which this object belongs to.
- list().
Method in class simula.simset.Link
- Returns the list which this object belongs to.
- MAIN_PASSIVATED.
Static variable in class simula.SimulaException
-
- mod(int, int).
Static method in class simula.Lang
- Returns the integer division of the two parameters.
- Negexp(double).
Constructor for class simula.random.Negexp
- Creates a new exponential generator using the standard engine and the current time as seed.
- Negexp(long, double).
Constructor for class simula.random.Negexp
- Creates a new exponential generator using the standard engine and the given seed.
- Negexp(RandomEngine, double).
Constructor for class simula.random.Negexp
- Creates a new exponential generator using the given engine.
- nextBit().
Method in class simula.random.RandomEngine
- Returns the next pseudo-random bit.
- nextByte().
Method in class simula.random.RandomEngine
-
Returns the next pseudo-random byte.
- nextByte().
Method in class simula.random.RandomEngineHotBits
-
Returns the next byte from the generator.
- nextByte().
Method in class simula.random.RandomEngineJava
-
Returns the next pseudo-random byte from this generator.
- nextByte().
Method in class simula.random.RandomEngineLCG
- Returns the next pseudoRandom byte
- nextByte().
Method in class simula.random.RandomEngineLEcuyer
-
Return the next byte from this engine
- nextByte().
Method in class simula.random.RandomEngineMCG
-
Return the next byte from engine
- nextByte(byte[]).
Method in class simula.random.RandomEngine
- Fills the entire given array with pseudo-random generated bytes.
- nextByte(byte[], int).
Method in class simula.random.RandomEngine
- Fills the given array with pseudo-random generated bytes.
- nextDouble().
Method in class simula.random.RandomEngine
- Returns the next pseudo-random double precision floating point
value (according to a uniform distribution).
- nextev().
Method in class simula.simset.simulation.Process
- If the process is scheduled and is not the last process on the event list,
this method returns a reference to the next process on the list (i.e.
- nextFloat().
Method in class simula.random.RandomEngine
- Returns the next pseudo-random floating point value (according to a uniform distribution).
- nextGaussian().
Method in class simula.random.RandomEngine
- Returns the next pseudo-random value according to a normal distribution.
- nextInt().
Method in class simula.random.RandomEngine
- Returns the next pseudo-random integer value (according to a uniform distribution).
- nextLong().
Method in class simula.random.RandomEngine
- Returns the next pseudo-random long integer value (according to a uniform distribution).
- nextShort().
Method in class simula.random.RandomEngine
- Returns the next pseudo-random short integer value (according to a uniform distribution).
- NO_CURRENT_PROCESS.
Static variable in class simula.SimulaException
-
- Normal(double, double).
Constructor for class simula.random.Normal
- Creates a new Normal generator using the standard engine and the current time as seed.
- Normal(long, double, double).
Constructor for class simula.random.Normal
- Creates a new Normal generator using the standard engine with the given seed.
- Normal(RandomEngine, double, double).
Constructor for class simula.random.Normal
- Creates a new Normal generator using the given engine.
- out().
Method in class simula.simset.Link
- If this object belongs to a linked list (it cannot belong to more than
one list), this method removes it from that list; otherwise it has no
effect.
- outfix(double, int, int).
Static method in class simula.Lang
- Prints a floating point number on the screen with a number of fractional digits
up to the given amount and aligned to the right in the given field.
- outimage().
Static method in class simula.Lang
- Flushes the screen.
- outint(int, int).
Static method in class simula.Lang
- Prints an integer number on the screen and given the field size
aligns the number on the right, preceding it with spaces enough to
fill the field.
- outreal(double, int, int).
Static method in class simula.Lang
- Prints out a number in scientific format
- outtext(String).
Static method in class simula.Lang
- Prints a string on the screen.
- passivate().
Method in class simula.simset.simulation.Simulation
- Passivate the currently active process.
- PASSIVE.
Static variable in class simula.simset.simulation.Process
- Passive status constant.
- PASSIVE_PROCESS.
Static variable in class simula.SimulaException
-
- PAST_TIME.
Static variable in class simula.SimulaException
-
- Poisson(double).
Constructor for class simula.random.Poisson
- Creates a new Poisson generator using the standard engine and the current time as seed.
- Poisson(long, double).
Constructor for class simula.random.Poisson
- Creates a new Poisson generator using the standard engine and the given seed.
- Poisson(RandomEngine, double).
Constructor for class simula.random.Poisson
- Creates a new Poisson generator using the given engine.
- precede(Linkage).
Method in class simula.simset.Link
- The actual parameter of this procedure may be either a
Link
object or a Head
object: if _elem
is a
Link
object, this method inserts this object into the same
linked list that _elem
belongs to, in the position
immediately preceding _elem
(if _elem
does not
belong to a linked list, the result is the same as for
out; if _elem
is a Head
object, this method is equivalent to into.
- pred.
Variable in class simula.simset.Linkage
- Predecessor in the list.
- pred().
Method in class simula.simset.Linkage
- Returns the predecessor in the list.
- pred(Linkage).
Method in class simula.simset.Linkage
- Sets the predecessor.
- Process(Simulation).
Constructor for class simula.simset.simulation.Process
- Create a new process and insert it in the given simulation context.
- processThread.
Variable in class simula.simset.simulation.Process
- A reference to the
Thread
associated with this process.
- processThread().
Method in class simula.simset.simulation.Process
- Returns the
Thread
associated with this process.
- Randint(int, int).
Constructor for class simula.random.Randint
- Creates a new Randint generator using the standard engine and the current time as seed.
- Randint(long, int, int).
Constructor for class simula.random.Randint
- Creates a new Randint generator using the standard engine and the given seed.
- Randint(RandomEngine, int, int).
Constructor for class simula.random.Randint
- Creates a new Randint generator using the given engine.
- random.
Variable in class simula.random.Generator
- Source of the pseudo-random bits.
- RandomEngine().
Constructor for class simula.random.RandomEngine
-
- RandomEngineHotBits().
Constructor for class simula.random.RandomEngineHotBits
- Create a new HotBits generator.
- RandomEngineJava().
Constructor for class simula.random.RandomEngineJava
- Creates a new random number generator.
- RandomEngineJava(long).
Constructor for class simula.random.RandomEngineJava
- Creates a new random number generator using the given seed.
- RandomEngineLCG().
Constructor for class simula.random.RandomEngineLCG
- Creates a new engine with current time used as the seed
- RandomEngineLCG(long).
Constructor for class simula.random.RandomEngineLCG
- Creates an new engine with given seed
- RandomEngineLEcuyer().
Constructor for class simula.random.RandomEngineLEcuyer
- Creates a new engine using system time as the seed
- RandomEngineLEcuyer(long).
Constructor for class simula.random.RandomEngineLEcuyer
-
Creates a new engine with the given seed.
- RandomEngineMCG().
Constructor for class simula.random.RandomEngineMCG
- Creates a new engine using current time as the seed
- RandomEngineMCG(long).
Constructor for class simula.random.RandomEngineMCG
- Creates a new engine using given seed
- reactivate(Process).
Method in class simula.simset.simulation.Simulation
- Reactivate immediately the given process.
- reactivate_after(Process, Process).
Method in class simula.simset.simulation.Simulation
- Reactivates the first given process after the second one.
- reactivate_at(Process, double, boolean).
Method in class simula.simset.simulation.Simulation
- Reactivate the given process at the given time.
- reactivate_before(Process, Process).
Method in class simula.simset.simulation.Simulation
- Reactivates the first given process before the second one.
- reactivate_delay(Process, double, boolean).
Method in class simula.simset.simulation.Simulation
- Reactivate the given process at the given time from now.
- REAL_TYPE.
Static variable in class simula.random.Generator
- Identifies a real valued generator.
- run().
Method in class simula.simset.simulation.Process
- This is the main body of the process.
- SENSELESS_PARAMETERS.
Static variable in class simula.SimulaException
-
- setParam(double).
Method in class simula.random.Bernoulli
- Sets a different parameter for this generator.
- setParam(double).
Method in class simula.random.Negexp
- Change the parameter of the exponential.
- setParam(double).
Method in class simula.random.Poisson
- Change the Poisson parameter.
- setParam(double, double).
Method in class simula.random.Normal
- Change the parameters of the gaussian distribution.
- setParam(double, double).
Method in class simula.random.Uniform
- Resets generator parameters (reordered if a > b)
- setParam(double[]).
Method in class simula.random.Discrete
- Change the discrete distribution..
- setParam(double[]).
Method in class simula.random.Histd
- Change the histogram of the absolute frequencies.
- setParam(double[], double[]).
Method in class simula.random.Linear
- Change the data of the cumulative function.
- setParam(int, double).
Method in class simula.random.Erlang
- Change the number of exponentials and their parameter.
- setParam(int, int).
Method in class simula.random.Randint
- Change the bounds.
- setSeed().
Method in class simula.random.RandomEngine
- The change of seed must be notified to the super class from every
child of RandomEngine.
- setSeed(long).
Method in class simula.random.RandomEngineJava
- Sets a new seed.
- setSeed(long).
Method in class simula.random.RandomEngineLCG
- Resets the generator seed
- setSeed(long).
Method in class simula.random.RandomEngineLEcuyer
- Resets the seed for this engine
- setSeed(long).
Method in class simula.random.RandomEngineMCG
- Resets the seed for the engine
- setStatus(int).
Method in class simula.simset.simulation.Process
- Sets the new state of this process.
- sign(double).
Static method in class simula.Lang
- Returns the sign of the given real number.
- sim.
Variable in class simula.simset.simulation.Process
- A reference to the simulation context.
- SimulaException(String).
Constructor for class simula.SimulaException
-
- Simulation().
Constructor for class simula.simset.simulation.Simulation
- Initialize an empty simulation.
- Simulation(Process).
Constructor for class simula.simset.simulation.Simulation
- Initialize a simulation with the given process.
- SimulationMain(Simulation).
Constructor for class simula.simset.simulation.SimulationMain
- Creates the main process of the given simulation.
- status.
Variable in class simula.simset.simulation.Process
- The status of this process.
- suc.
Variable in class simula.simset.Linkage
- Successor in the list.
- suc().
Method in class simula.simset.Linkage
- Returns the successor in the list.
- suc(Linkage).
Method in class simula.simset.Linkage
- Sets the successor.
- SUSPENDED.
Static variable in class simula.simset.simulation.Process
- Suspended status constant.
- TERMINATED.
Static variable in class simula.simset.simulation.Process
- Terminated status constant.
- terminated().
Method in class simula.simset.simulation.Process
- Returns
True
if the process is terminated, False
if it is scheduled or passive.
- TERMINATED_PROCESS.
Static variable in class simula.SimulaException
-
- time().
Method in class simula.simset.simulation.Simulation
- Returns the time from the beginning of the simulation.
- type().
Method in class simula.random.Bernoulli
- Returns the type of the extracted value.
- type().
Method in class simula.random.Discrete
- Returns the type of the extracted value.
- type().
Method in class simula.random.Erlang
- Returns the type of the extracted value.
- type().
Method in class simula.random.Generator
- Abstract method that allows to identify the type of the value.
- type().
Method in class simula.random.Histd
- Returns the type of the extracted value.
- type().
Method in class simula.random.Linear
- Returns the type of the extracted value.
- type().
Method in class simula.random.Negexp
- Returns the type of the extracted value.
- type().
Method in class simula.random.Normal
- Returns the type of the extracted value.
- type().
Method in class simula.random.Poisson
- Returns the type of the extracted value.
- type().
Method in class simula.random.Randint
- Abstract method that allows to identify the type of the value.
- type().
Method in class simula.random.Uniform
- Abstract method that allows to identify the type of the value.
- TYPE_MISMATCH.
Static variable in class simula.random.TypeDrawnException
- Messaggio portato da questa eccezione quando si vuole segnalare un errore
- TypeDrawnException(String).
Constructor for class simula.random.TypeDrawnException
-
- Uniform(double, double).
Constructor for class simula.random.Uniform
-
- Uniform(long, double, double).
Constructor for class simula.random.Uniform
-
- Uniform(RandomEngine, double, double).
Constructor for class simula.random.Uniform
-
- update().
Method in class simula.simset.simulation.Simulation
- Notify simulation status to observers (if there are any)
It is called when a process passivates or holds
The current active process is passed as parameter to the
update
call in observers.
- Value().
Constructor for class simula.random.Value
-
- wait(Head).
Method in class simula.simset.simulation.Simulation
- Adds the current process to the given waiting list and passivates it.