Пример #1
0
 /// <inheritdoc cref="IPlan"/>
 public bool TryGetActionInfo(TStateKey planStateKey, TActionKey actionKey, out ActionInfo actionInfo)
 {
     planData.CompletePlanningJobs();
     return(planData.PlanGraph.ActionInfoLookup.TryGetValue(new StateActionPair <TStateKey, TActionKey>(planStateKey, actionKey), out actionInfo));
 }
Пример #2
0
 /// <inheritdoc cref="IPlan"/>
 public bool TryGetActionInfo(IStateKey planStateKey, IActionKey actionKey, out ActionInfo actionInfo)
 {
     return(TryGetActionInfo(Convert(planStateKey), Convert(actionKey), out actionInfo));
 }