I am trying to define a social simulation model using UML diagrams. Previously I defined an algorithm using a logic flow chart. Is the "activity diagram" the UML equivalent of a "logic flow chart"? Are there any pitfalls of using an "activity diagram" for this purpose?