All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class eqn.EqnStrategy

java.lang.Object
   |
   +----eqn.EqnStrategy

public final class EqnStrategy
extends Object
implements Strategy
The class EqnStrategy implements a PGMS strategy. The Equation Strategy makes a decision based on a set of equations.

The implementation makes extensive use of sets.

PGMS players are strongly discouraged from reading the source file that implements the Equation Strategy. It's much more fun to create your own strategy rather than copy someone else's.

See Also:
Strategy, Set

Constructor Index

 o EqnStrategy()

Method Index

 o play(Map)
Invoke the Equation Strategy.

Constructors

 o EqnStrategy
 public EqnStrategy()

Methods

 o play
 public void play(Map m)
Invoke the Equation Strategy.

See Also:
Strategy

All Packages  Class Hierarchy  This Package  Previous  Next  Index