Definition 1 (Numeric Action). A numeric action is
a STRIPS action in which propositional preconditions
and effects are augmented with:
• numeric precondition, which is a conjunction of
comparisons, where each comparison is an in-
equality of the form { exp {<,≤,=,≥,>} exp’}.
• numeric effects, which consists of a set of opera-
tions, where each operation is defined by means
of { f,{+ =,− =,=},exp}, and f is the resource
affected by the operation, i.e. f ∈ N
In the definition above exp,exp
′
are arith-
metic expressions involving a variety of resources
and numeric information from N. Informally,
the numeric operations model how a numeric ac-
tion affects the resources (e.g., power = power +
distance(A,B)/avg consumption), while the numeric
precondition expresses the resource requirements for
the action applicability (e.g., power > 5.0). The nu-
meric action is applicable in a state S if both the nu-
meric and classical preconditions are satisfied in S.
The application of this action in a state S will trans-
form S in S
′
according to (i) the operations defined in
the numeric effects, and (ii) the traditional add/delete
list reported in the propositional effects.
The Plan. By focusing on the numeric part of the
state we can define a numeric plan as follows:
Definition 2 (Numeric Plan). A numeric plan is a to-
tal ordered set of numeric actions that, starting from a
state I, leads the agent in a state satisfying a goal G,
where: (i) I is a numeric state, i.e., a vector assign-
ing values to the numeric information of the domain,
(ii) G is the numerical goal for the agent containing
a conjunction of comparisons as the ones defined for
the action preconditions.
3 MONITORING AND REPAIR
VIA NUMERICAL KERNEL
While the planning phase generally assumes deter-
ministic state transitions, the execution of the plan in
the real world can be prevented because of the pres-
ence of exogenous events as well as unexpected ac-
tion behaviors. Therefore a continuous monitoring is
often desirable for understanding if the observations
(i.e. the state) are consistent with the plan at hand.
In this context, the only checking of action pre-
conditions may, in general, does not suffice. Albeit
the action can result applicable, the executability of
the rest part of the plan could depend by only certain
resources profiles. To capture such profiles, it is im-
portant to keep trace to the conditions expressed in the
goals and the model of actions present in the plan.
3.1 Numerical Kernel
Given a numeric plan π as the one in Definition 2, it
is possible to find the set of conditions that must be
guaranteed for achieving G by means of π. We will
this set numerical kernel. More formally, from (Scala,
2012):
Definition 3 (Numerical Kernel). Given a plan π, a
goal G and a state S, a set of comparisons K over N
is said to be a numerical kernel for π and G when the
state S[π] satisfies G iff S satisfies K.
where S[π] is the state obtained from the recursive ex-
ecution of π starting from S. Thus, given a state of the
system, by verifying the condition expressed in the
numerical kernel, one can infer if the state is compat-
ible with the remaining plan for reaching the goal.
More precisely it is possible to find a numerical
kernel for each step of the plan by backward propaga-
tion starting from G. That is,
the computation starts with the last numerical ker-
nel as it corresponds to the (trivial) numerical kernel
for an empty plan, i.e. the goal conditions. After
which, the remaining part of the kernels is constructed
by combining the information involved in the model
of the action (pre(a) and eff(a)) with the (previously
computed) next numerical kernel. In particular it is
necessary to iteratively combine the set of compar-
isons with the set of assignments listed in the opera-
tions set. Note indeed that every operation listed in
the model of the action can be transformed in an as-
signment operation. The procedure and the notion of
numerical kernels are introduced and described in de-
tail in (Scala, 2012).
Triangle table defined in (Fikes et al., 1972) have
been introduced for a similar motivations by introduc-
ing the concept of propositional kernel. However, the
formulation of a kernel expresses precisely what is the
minimal set of propositionalatoms that must hold dur-
ing the plan execution. Here, the numerical kernel ex-
presses just the boundary of a state space to be valid
without specifying a particular state.
3.2 Monitoring and Repairing
To validate and motivate the utility of numerical ker-
nels, we developed a continual planning agent which
is in charge of dealing with continuousresources. The
continual planning paradigm (desJardins et al., 1999)
allows the agent to interleave the execution and the
planning for the purpose of repairing its plan of ac-
tions once unexpected conditions (in our case the ker-
nel violation) occur. Hence the usage of numerical
kernel is rather appropriate as the agent performs both
monitoring and repair, throughout the plan execution.
ICAART2013-InternationalConferenceonAgentsandArtificialIntelligence
532