There need to be config files for specifying predicates that agents in a multi-agent model take into consideration when making decisions. Requirements: Users can specify boolean expressions and users can use a set of non-static methods defined in Java in their predicate definitions. e.g. like this (XML notation just used as an example):
<AgentConfigurations>
<Agent Name="ExampleAgentConfig1">
<Predicates>
<Predicate Name="ThereIsAFullMoon">FullMoon("18/06/1987")</Predicate>
<Predicate Name="DayNotTheFifth">5 != Today()</Predicate>
</Predicates>
</Agent>
</AgentConfigurations>
If I code this functionality myself, the method calling could be done using reflection but some parsing is required for the operators etc.
Is there a framework that could help with this?
Many thanks in advance, Thomas