nl.tudelft.simulation.dsol.experiment
Class Replication

java.lang.Object
  extended by nl.tudelft.simulation.dsol.experiment.Replication
All Implemented Interfaces:
Serializable

public class Replication
extends Object
implements Serializable

The replication of a runcontrol.

(c) copyright 2002-2005 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: Lesser General Public License (LGPL) , no warranty.

Since:
1.4
Version:
$Revision: 1.1 $ $Date: 2007/01/06 13:21:30 $
Author:
Peter Jacobs
See Also:
Serialized Form

Constructor Summary
Replication(RunControl runControl, int number)
          constructs a new Replication
 
Method Summary
 String getDescription()
          gets the description of this replication
 int getNumber()
          returns the number of this replication
 RunControl getRunControl()
          Returns the runControl
 StreamInterface getStream(String name)
          returns a specific stream
 Map getStreams()
          returns the streams
 void reset()
          resets the RunControl
 void setDescription(String description)
          Sets the description of this replication
 void setRunControl(RunControl runControl)
          sets the run control of this replication
 void setStreams(Map streams)
          sets the stream for this replication
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Replication

public Replication(RunControl runControl,
                   int number)
constructs a new Replication

Parameters:
runControl - reflects the RunControl
number - the number
Method Detail

getDescription

public String getDescription()
gets the description of this replication

Returns:
String the description of this replication

getNumber

public int getNumber()
returns the number of this replication

Returns:
int the number

getRunControl

public RunControl getRunControl()
Returns the runControl

Returns:
the runControl

getStreams

public Map getStreams()
returns the streams

Returns:
Map the streams of this replication

getStream

public StreamInterface getStream(String name)
returns a specific stream

Parameters:
name - the name of the stream
Returns:
StreamInterface the stream

reset

public void reset()
resets the RunControl


setDescription

public void setDescription(String description)
Sets the description of this replication

Parameters:
description - the description of this replication

setRunControl

public void setRunControl(RunControl runControl)
sets the run control of this replication

Parameters:
runControl - the runControl.

setStreams

public void setStreams(Map streams)
sets the stream for this replication

Parameters:
streams - the map of stream,name tuples

toString

public String toString()
Overrides:
toString in class Object
See Also:
Object.toString()


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.