Ejemplo n.º 1
0
 public RowRecogPartitionStateRepo MakeSingle(
     RowRecogPreviousStrategyImpl prevGetter,
     AgentInstanceContext agentInstanceContext,
     RowRecogNFAView view,
     bool keepScheduleState,
     RowRecogPartitionTerminationStateComparator terminationStateCompare)
 {
     return new RowRecogPartitionStateRepoNoGroup(prevGetter, keepScheduleState, terminationStateCompare);
 }
 public RowRecogPartitionStateRepoNoGroup(
     RowRecogPreviousStrategyImpl getter,
     bool keepScheduleState,
     RowRecogPartitionTerminationStateComparator terminationStateCompare)
 {
     singletonState = new RowRecogPartitionStateImpl(getter, new List<RowRecogNFAStateEntry>());
     optionalIntervalSchedules = keepScheduleState
         ? new RowRecogPartitionStateRepoScheduleStateImpl(terminationStateCompare)
         : null;
 }
 public RowRecogPartitionStateRepoGroup(
     RowRecogPreviousStrategyImpl getter,
     RowRecogPartitionStateRepoGroupMeta meta,
     bool keepScheduleState,
     RowRecogPartitionTerminationStateComparator terminationStateCompare)
 {
     _getter = getter;
     _meta = meta;
     _states = new Dictionary<object, RowRecogPartitionStateImpl>();
     _optionalIntervalSchedules = keepScheduleState
         ? new RowRecogPartitionStateRepoScheduleStateImpl(terminationStateCompare)
         : null;
 }
Ejemplo n.º 4
0
 public RowRecogPartitionStateRepoScheduleStateImpl(
     RowRecogPartitionTerminationStateComparator terminationStateCompare)
 {
     this.terminationStateCompare = terminationStateCompare;
 }