Skip to content

Commit 5605407

Browse files
committed
Improved formatting of some code samples.
1 parent 979a9b7 commit 5605407

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/manual.adoc

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,10 @@ NOTE: Thread priorities have no effect on a simulation run.
145145
public class SimulationProcess extends Thread
146146
{
147147
public final double time ();
148+
148149
public synchronized SimulationProcess nextEv () throws SimulationException, NoSuchElementException;
149150
public final double evtime ();
151+
150152
public void activateBefore (SimulationProcess p) throws SimulationException, RestartException;
151153
public void activateAfter (SimulationProcess p) throws SimulationException, RestartException;
152154
public void activateAt (double AtTime, boolean prior) throws SimulationException, RestartException;
@@ -160,13 +162,16 @@ public class SimulationProcess extends Thread
160162
public void reactivateDelay (double Delay, boolean prior) throws SimulationException, RestartException;
161163
public void reactivateDelay (double Delay) throws SimulationException, RestartException;
162164
public void reactivate () throws SimulationException, RestartException;
165+
163166
public void cancel () throws RestartException;
164167
public void terminate ();
165168
public synchronized boolean idle ();
166169
public boolean passivated ();
167170
public boolean terminated ();
171+
168172
public static SimulationProcess current () throws SimulationException;
169173
public static double currentTime ();
174+
170175
public static void mainSuspend ();
171176
public static void mainResume () throws SimulationException;
172177
@@ -408,7 +413,7 @@ The UniformStream class inherits from RandomStream and returns random numbers un
408413
----
409414
public class UniformStream extends RandomStream
410415
{
411-
public UniformStream (double lo, double hi);
416+
public UniformStream (double lo, double hi);
412417
public UniformStream (double lo, double hi, int StreamSelect);
413418
public UniformStream (double lo, double hi, int StreamSelect, long MGSeed, long LCGSeed);
414419
@@ -425,7 +430,7 @@ The ExponentialStream class returns an exponentially distributed stream of rando
425430
----
426431
public class ExponentialStream extends RandomStream
427432
{
428-
public ExponentialStream (double mean);
433+
public ExponentialStream (double mean);
429434
public ExponentialStream (double mean, int StreamSelect);
430435
public ExponentialStream (double mean, int StreamSelect, long MGSeed, long LCGSeed);
431436
@@ -442,7 +447,7 @@ ErlangStream returns an erlang distribution with mean mean and standard deviatio
442447
----
443448
public class ErlangStream extends RandomStream
444449
{
445-
public ErlangStream (double mean, double sd);
450+
public ErlangStream (double mean, double sd);
446451
public ErlangStream (double mean, double sd, int StreamSelect);
447452
public ErlangStream (double mean, double sd, int StreamSelect, long MGSeed, long LCGSeed);
448453
@@ -459,7 +464,7 @@ The HyperExponential class returns a hyper-exponential distribution of random nu
459464
----
460465
public class HyperExponentialStream extends RandomStream
461466
{
462-
public HyperExponentialStream (double mean, double sd);
467+
public HyperExponentialStream (double mean, double sd);
463468
public HyperExponentialStream (double mean, double sd, int StreamSelect);
464469
public HyperExponentialStream (double mean, double sd, int StreamSelect, long MGSeed, long LCGSeed);
465470
@@ -476,7 +481,7 @@ NormalStream returns a normal distribution of random numbers, with mean mean and
476481
----
477482
public class NormalStream extends RandomStream
478483
{
479-
public NormalStream (double mean, double sd);
484+
public NormalStream (double mean, double sd);
480485
public NormalStream (double mean, double sd, int StreamSelect);
481486
public NormalStream (double mean, double sd, int StreamSelect, long MGSeed, long LCGSeed);
482487
@@ -493,9 +498,9 @@ The Draw class is the exception to the inheritance rule, instead using RandomStr
493498
----
494499
public class Draw
495500
{
496-
public Draw (double p);
497-
public Draw (double p, int StreamSelect);
498-
public Draw (double p, int StreamSelect, long MGSeed, long LCGSeed);
501+
public Draw (double p);
502+
public Draw (double p, int StreamSelect);
503+
public Draw (double p, int StreamSelect, long MGSeed, long LCGSeed);
499504
500505
public boolean getBoolean () throws IOException;
501506
};

0 commit comments

Comments
 (0)