Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: ontoware/cpr/extracted
Source used for this grammar: Hugo Brunelière, Core Plan Representation, CPR.ecore
, 2005/08/10
Integer
, String
, Boolean
, Plan
, Objective
, EvaluationCriteria
, Action
, Actor
, Resource
, TimeSpec
), 0 root (—), 3 top (Integer
, String
, Boolean
), 0 bottom (—).[sub_plans]
, [super_plan]
, [objectives]
, [actions]
, [objective_plan]
, [criterias]
, [criteria_objective]
, [action_plan]
, [sub_actions]
, [super_action]
, [actor]
, [resources]
, [timeSpecs]
, [actor_action]
, [sub_actors]
, [super_actor]
, [resource_action]
, [timeSpec_action]
.Integer ::= integer
String ::= string
Boolean ::= "true" "false"
Plan ::= [sub_plans]::Plan[super_plan]::Plan [objectives]::Objective [actions]::Action
Objective ::=
[objective_plan]::Plan [criterias]::EvaluationCriteria
EvaluationCriteria ::= [criteria_objective]::Objective
Action ::= [action_plan]::Plan [sub_actions]::Action[super_action]::Action [actor]::Actor [resources]::Resource [timeSpecs]::TimeSpec
Actor ::=
[actor_action]::Action [sub_actors]::Actor
[super_actor]::ActorResource ::= [resource_action]::Action
TimeSpec ::= [timeSpec_action]::Action