Skip to content

Commit

Permalink
[up] Update protobuf definition
Browse files Browse the repository at this point in the history
  • Loading branch information
arbimo committed Oct 10, 2023
1 parent 3c94766 commit b0a7420
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
9 changes: 9 additions & 0 deletions planning/grpc/api/src/unified_planning.proto
Original file line number Diff line number Diff line change
Expand Up @@ -598,6 +598,8 @@ enum Feature {
// EXPRESSION_DURATION
STATIC_FLUENTS_IN_DURATIONS = 27;
FLUENTS_IN_DURATIONS = 28;
REAL_TYPE_DURATIONS = 62;
INT_TYPE_DURATIONS = 63;
// NUMBERS
CONTINUOUS_NUMBERS = 7;
DISCRETE_NUMBERS = 8;
Expand Down Expand Up @@ -625,6 +627,8 @@ enum Feature {
// FLUENTS_TYPE
NUMERIC_FLUENTS = 19;
OBJECT_FLUENTS = 20;
INT_FLUENTS = 60;
REAL_FLUENTS = 61;
// PARAMETERS
BOOL_FLUENT_PARAMETERS = 50;
BOUNDED_INT_FLUENT_PARAMETERS = 51;
Expand All @@ -642,6 +646,11 @@ enum Feature {
// ACTION_COST_KIND
STATIC_FLUENTS_IN_ACTIONS_COST = 45;
FLUENTS_IN_ACTIONS_COST = 46;
REAL_NUMBERS_IN_ACTIONS_COST = 64;
INT_NUMBERS_IN_ACTIONS_COST = 65;
// OVERSUBSCRIPTION_KIND
REAL_NUMBERS_IN_OVERSUBSCRIPTION = 66;
INT_NUMBERS_IN_OVERSUBSCRIPTION = 67;
// SIMULATED_ENTITIES
SIMULATED_EFFECTS = 25;
// CONSTRAINTS_KIND
Expand Down
27 changes: 27 additions & 0 deletions planning/grpc/api/src/unified_planning.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1193,6 +1193,8 @@ pub enum Feature {
/// EXPRESSION_DURATION
StaticFluentsInDurations = 27,
FluentsInDurations = 28,
RealTypeDurations = 62,
IntTypeDurations = 63,
/// NUMBERS
ContinuousNumbers = 7,
DiscreteNumbers = 8,
Expand Down Expand Up @@ -1220,6 +1222,8 @@ pub enum Feature {
/// FLUENTS_TYPE
NumericFluents = 19,
ObjectFluents = 20,
IntFluents = 60,
RealFluents = 61,
/// PARAMETERS
BoolFluentParameters = 50,
BoundedIntFluentParameters = 51,
Expand All @@ -1237,6 +1241,11 @@ pub enum Feature {
/// ACTION_COST_KIND
StaticFluentsInActionsCost = 45,
FluentsInActionsCost = 46,
RealNumbersInActionsCost = 64,
IntNumbersInActionsCost = 65,
/// OVERSUBSCRIPTION_KIND
RealNumbersInOversubscription = 66,
IntNumbersInOversubscription = 67,
/// SIMULATED_ENTITIES
SimulatedEffects = 25,
/// CONSTRAINTS_KIND
Expand Down Expand Up @@ -1274,6 +1283,8 @@ impl Feature {
Feature::SelfOverlapping => "SELF_OVERLAPPING",
Feature::StaticFluentsInDurations => "STATIC_FLUENTS_IN_DURATIONS",
Feature::FluentsInDurations => "FLUENTS_IN_DURATIONS",
Feature::RealTypeDurations => "REAL_TYPE_DURATIONS",
Feature::IntTypeDurations => "INT_TYPE_DURATIONS",
Feature::ContinuousNumbers => "CONTINUOUS_NUMBERS",
Feature::DiscreteNumbers => "DISCRETE_NUMBERS",
Feature::BoundedTypes => "BOUNDED_TYPES",
Expand Down Expand Up @@ -1302,6 +1313,8 @@ impl Feature {
Feature::HierarchicalTyping => "HIERARCHICAL_TYPING",
Feature::NumericFluents => "NUMERIC_FLUENTS",
Feature::ObjectFluents => "OBJECT_FLUENTS",
Feature::IntFluents => "INT_FLUENTS",
Feature::RealFluents => "REAL_FLUENTS",
Feature::BoolFluentParameters => "BOOL_FLUENT_PARAMETERS",
Feature::BoundedIntFluentParameters => "BOUNDED_INT_FLUENT_PARAMETERS",
Feature::BoolActionParameters => "BOOL_ACTION_PARAMETERS",
Expand All @@ -1316,6 +1329,10 @@ impl Feature {
Feature::TemporalOversubscription => "TEMPORAL_OVERSUBSCRIPTION",
Feature::StaticFluentsInActionsCost => "STATIC_FLUENTS_IN_ACTIONS_COST",
Feature::FluentsInActionsCost => "FLUENTS_IN_ACTIONS_COST",
Feature::RealNumbersInActionsCost => "REAL_NUMBERS_IN_ACTIONS_COST",
Feature::IntNumbersInActionsCost => "INT_NUMBERS_IN_ACTIONS_COST",
Feature::RealNumbersInOversubscription => "REAL_NUMBERS_IN_OVERSUBSCRIPTION",
Feature::IntNumbersInOversubscription => "INT_NUMBERS_IN_OVERSUBSCRIPTION",
Feature::SimulatedEffects => "SIMULATED_EFFECTS",
Feature::TrajectoryConstraints => "TRAJECTORY_CONSTRAINTS",
Feature::StateInvariants => "STATE_INVARIANTS",
Expand Down Expand Up @@ -1347,6 +1364,8 @@ impl Feature {
"SELF_OVERLAPPING" => Some(Self::SelfOverlapping),
"STATIC_FLUENTS_IN_DURATIONS" => Some(Self::StaticFluentsInDurations),
"FLUENTS_IN_DURATIONS" => Some(Self::FluentsInDurations),
"REAL_TYPE_DURATIONS" => Some(Self::RealTypeDurations),
"INT_TYPE_DURATIONS" => Some(Self::IntTypeDurations),
"CONTINUOUS_NUMBERS" => Some(Self::ContinuousNumbers),
"DISCRETE_NUMBERS" => Some(Self::DiscreteNumbers),
"BOUNDED_TYPES" => Some(Self::BoundedTypes),
Expand Down Expand Up @@ -1375,6 +1394,8 @@ impl Feature {
"HIERARCHICAL_TYPING" => Some(Self::HierarchicalTyping),
"NUMERIC_FLUENTS" => Some(Self::NumericFluents),
"OBJECT_FLUENTS" => Some(Self::ObjectFluents),
"INT_FLUENTS" => Some(Self::IntFluents),
"REAL_FLUENTS" => Some(Self::RealFluents),
"BOOL_FLUENT_PARAMETERS" => Some(Self::BoolFluentParameters),
"BOUNDED_INT_FLUENT_PARAMETERS" => Some(Self::BoundedIntFluentParameters),
"BOOL_ACTION_PARAMETERS" => Some(Self::BoolActionParameters),
Expand All @@ -1389,6 +1410,12 @@ impl Feature {
"TEMPORAL_OVERSUBSCRIPTION" => Some(Self::TemporalOversubscription),
"STATIC_FLUENTS_IN_ACTIONS_COST" => Some(Self::StaticFluentsInActionsCost),
"FLUENTS_IN_ACTIONS_COST" => Some(Self::FluentsInActionsCost),
"REAL_NUMBERS_IN_ACTIONS_COST" => Some(Self::RealNumbersInActionsCost),
"INT_NUMBERS_IN_ACTIONS_COST" => Some(Self::IntNumbersInActionsCost),
"REAL_NUMBERS_IN_OVERSUBSCRIPTION" => {
Some(Self::RealNumbersInOversubscription)
}
"INT_NUMBERS_IN_OVERSUBSCRIPTION" => Some(Self::IntNumbersInOversubscription),
"SIMULATED_EFFECTS" => Some(Self::SimulatedEffects),
"TRAJECTORY_CONSTRAINTS" => Some(Self::TrajectoryConstraints),
"STATE_INVARIANTS" => Some(Self::StateInvariants),
Expand Down

0 comments on commit b0a7420

Please sign in to comment.