I have written the agent actions.
There are two of them - attack or move. There is no "doNothing()" action
because it would be very useless chunk of code.

Each function takes 6 arguments - ID, start node, target node and unit
counts. I think it is sufficiently commented but if you have any
questions mail me or the group (group might be better as everyone will
have the answer). Facebook communication may not get you what you want
;)

In main there is visualization of how the code works. 
Only thing that worries me is fact that visualization does not display
unit counts - adding that would make debugging of agents (and code) MUCH
EASIER!
Special parameter in graph corrected from 0 to 1
Aga trial commit
Aga 2
VIsualization of the unavailable edges
Hey, I have done some changes to a code:
I change attack order to favor attacker a bit less (swapped 2nd stage
with 1st - you can check on diagram i sent earlier), basically units
fight with units of same type, then type they kill, then type they are
killed by.
Also actions are now boolean functions that return false if move is
impossible and true if move was successful.
Merge branch 'master' of ssh://git@github.com/licci/IA.game.git
Tried to help with transparent edges. I failed, at least I did not break
anything :).
Merge branch 'master' of ssh://git@github.com/licci/IA.game.git
Added condition stopping agent from moving/attacking with units agent
does not have.
Action will return false if it is impossible for whatever reason.
True if it was successful.