34 lines
635 B
C
34 lines
635 B
C
|
#ifndef __SAS__AXIOM_RULE_H
|
||
|
#define __SAS__AXIOM_RULE_H
|
||
|
|
||
|
#include <vector>
|
||
|
|
||
|
#include <plasp/sas/Variable.h>
|
||
|
|
||
|
namespace plasp
|
||
|
{
|
||
|
namespace sas
|
||
|
{
|
||
|
|
||
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
//
|
||
|
// AxiomRule
|
||
|
//
|
||
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
struct AxiomRule
|
||
|
{
|
||
|
using Condition = AssignedVariable;
|
||
|
using Conditions = std::vector<Condition>;
|
||
|
|
||
|
Conditions conditions;
|
||
|
Condition postcondition;
|
||
|
};
|
||
|
|
||
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif
|