patrick
/
plasp
Archived
1
0
Fork 0
This repository has been archived on 2023-07-19. You can view files and clone it, but cannot push or open issues or pull requests.
plasp/include/plasp/sas/Operator.h

45 lines
938 B
C++

#ifndef __SAS__OPERATOR_H
#define __SAS__OPERATOR_H
#include <string>
#include <vector>
#include <plasp/sas/AssignedVariable.h>
#include <plasp/sas/Effect.h>
#include <plasp/sas/Predicate.h>
#include <plasp/sas/Variable.h>
namespace plasp
{
namespace sas
{
////////////////////////////////////////////////////////////////////////////////////////////////////
//
// Operator
//
////////////////////////////////////////////////////////////////////////////////////////////////////
struct Operator;
using Operators = std::vector<Operator>;
////////////////////////////////////////////////////////////////////////////////////////////////////
struct Operator
{
using Condition = AssignedVariable;
using Conditions = AssignedVariables;
Predicate predicate;
Conditions preconditions;
Effects effects;
size_t costs;
};
////////////////////////////////////////////////////////////////////////////////////////////////////
}
}
#endif