Package repast.simphony.batch.ssh
Class DefaultOutputPatternCreator
- java.lang.Object
-
- repast.simphony.batch.ssh.DefaultOutputPatternCreator
-
public class DefaultOutputPatternCreator extends Object
Creates the patterns for a default output file sink file name. These patterns are used to identify the default simphony output.- Author:
- Nick Collier
-
-
Constructor Summary
Constructors Constructor Description DefaultOutputPatternCreator(String basename, boolean hasTimestamp)
Creates a DefaultOutputPatternCreator that will create output patterns for the specified basename.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputPattern
getFileSinkOutputPattern()
Gets the OutputPattern for the file sink output.OutputPattern
getParamMapPattern()
Gets the OutputPattern for the parameter map file.
-
-
-
Constructor Detail
-
DefaultOutputPatternCreator
public DefaultOutputPatternCreator(String basename, boolean hasTimestamp)
Creates a DefaultOutputPatternCreator that will create output patterns for the specified basename. For example, a basename of ModelOutput would correspond to instance output of ModelOutput.X.csv where X is a timestamp.
-
-
Method Detail
-
getParamMapPattern
public OutputPattern getParamMapPattern()
Gets the OutputPattern for the parameter map file.- Returns:
- the OutputPattern for the parameter map file.
-
getFileSinkOutputPattern
public OutputPattern getFileSinkOutputPattern()
Gets the OutputPattern for the file sink output.- Returns:
- the OutputPattern for the file sink output.
-
-