fredpy / trex2-agent

An architecture for goal directed control of autonomous agents
BSD 3-Clause "New" or "Revised" License
14 stars 13 forks source link

Predicate::hasAttribute is not working for temporal attributes #36

Open fredpy opened 9 years ago

fredpy commented 9 years ago

Predicate::hasAttribute return false for "start", "duration" and "end" even if the Predicate is a Goal. while has_temporal_scope is a way to get around it. It would be better if the hasAttribute method would check for those too.