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 Details

    • 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 Details

    • 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.