public GRA_R(GoalFunc gf, RuleFunc rf, ActionFunc af, TimeSpan span, TimeSpan repeatSpan) : base(gf, rf, af, span) { RepeatSpan = repeatSpan; MaxRepeatCount = int.MaxValue; RepeatWaitedTime = repeatSpan; RepeatCount = 0; }
public GRA(GoalFunc gf, RuleFunc rf, ActionFunc af, TimeSpan span) { GoalFunc = gf; RuleFunc = rf; ActionFunc = af; Span = span; MaxTries = int.MaxValue; Init(); }