SSJ API Documentation
Stochastic Simulation in Java
Loading...
Searching...
No Matches
EmptyRandomization.java
1/*
2 * Class: EmptyRandomization
3 * Description: implements an empty PointSetRandomization
4 * Environment: Java
5 * Software: SSJ
6 * Copyright (C) 2001 Pierre L'Ecuyer and Universite de Montreal
7 * Organization: DIRO, Universite de Montreal
8 * @author
9 * @since
10 *
11 *
12 * Licensed under the Apache License, Version 2.0 (the "License");
13 * you may not use this file except in compliance with the License.
14 * You may obtain a copy of the License at
15 *
16 * http://www.apache.org/licenses/LICENSE-2.0
17 *
18 * Unless required by applicable law or agreed to in writing, software
19 * distributed under the License is distributed on an "AS IS" BASIS,
20 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
21 * See the License for the specific language governing permissions and
22 * limitations under the License.
23 *
24 */
25package umontreal.ssj.hups;
26
27// import umontreal.ssj.rng.MRG32k3a;
28import umontreal.ssj.rng.RandomStream;
29
41 protected RandomStream stream; // = new MRG32k3a();
42
48 public void randomize(PointSet p) {
49 // Does nothing
50 }
51
57 public void setStream(RandomStream stream) {
58 this.stream = stream;
59 }
60
67 return stream;
68 }
69
70}
This class implements an empty.
void setStream(RandomStream stream)
Sets the internal umontreal.ssj.rng.RandomStream to stream.
RandomStream getStream()
Returns the internal umontreal.ssj.rng.RandomStream.
void randomize(PointSet p)
This method does nothing.
This abstract class represents a general point set.
Definition PointSet.java:99
This interface is for a randomization that can be used to randomize a umontreal.ssj....
This interface defines the basic structures to handle multiple streams of uniform (pseudo)random numb...