[Modeling] Modeling an Agent Class- register your opinion

James Odell email@jamesodell.com
Sat, 21 Jun 2003 13:58:15 -0400


On 6/20/03 5:45 AM, "f.tolman" indited:

> What is wrong with the traditional UML association between the class Person
> and the class Department, with the role-attributes Employee (at the Person
> side) and Employs (at the Department side)?

Personally, this is one constraint I still use for agent-based modeling.
For example, there might be a constraint that for a Department-Employee
association every Department must have one or more Employees.  (In other
words, employee-less departments are not permitted.)  This applies whether I
am talking objects or agents.  In modal terms, it is a permission, not an
obligation.

-Jim