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

39 lines
744 B
C++

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