From eb070a26e716bd66a085beacc70a98a2e8fae0f7 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sat, 26 Jan 2008 16:47:27 +0100 Subject: [PATCH] More documentation of actions --- action.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/action.h b/action.h index 32d9122..40e2db3 100644 --- a/action.h +++ b/action.h @@ -6,8 +6,11 @@ #include #include +//! A list of strings, each string representing an effect. typedef std::vector Literals; +//! A map, but really a list of pairs, the precondition as a string, and a bool, true if it's a hard precondition, otherwise false. typedef __gnu_cxx::hash_map Preconditions; +//! A map from returnvalue of the execution to the effects achieved. typedef __gnu_cxx::hash_map EffectsMap; // These are needed to be able to use std::string as key in a hash_map. -- 2.39.2