Class SimpleExtractor

java.lang.Object
tools.descartes.dlim.extractor.SimpleExtractor
All Implemented Interfaces:
IDlimExtractor

public class SimpleExtractor extends Object implements IDlimExtractor
Default implementation of the IDlimExtractor interface for the Extractor extension point. Use this when testing new arrival rate file readers.
  • Constructor Details

    • SimpleExtractor

      public SimpleExtractor()
  • Method Details

    • extractIntoSequence

      public void extractIntoSequence(Sequence root, List<ArrivalRateTuple> readArrivalRates)
      Extracts the read arrival rate list into a DLIM Sequence. Seasonal period and Trend length are pre-set.
      Specified by:
      extractIntoSequence in interface IDlimExtractor
      Parameters:
      root - The model's root Sequence.
      readArrivalRates - a list of arrival rates with their respective time-stamps.