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; }
public RowRecogPartitionStateRepoScheduleStateImpl( RowRecogPartitionTerminationStateComparator terminationStateCompare) { this.terminationStateCompare = terminationStateCompare; }