puzzled.processor
Class Processor

java.lang.Object
  |
  +--puzzled.processor.Processor
All Implemented Interfaces:
Constants

public class Processor
extends java.lang.Object
implements Constants

This class is the brain of the application. Its role is to find relationships derived from the known ones. It comes in two fold, the first is to replicate the known information from a VALUE_YES relationship, the other is to find common caracteristics out of multiple items that can only be associated with another item.

Version:
1.1 26 Aug 2001
Author:
Frédéric Demers

Fields inherited from interface puzzled.Constants
ACTION_TOKEN, AND_TOKEN, AND_TOKENS, IS_ACTION, IS_TOKEN, IS_TOKENS, ISNOT_ACTION, JUNCTION_TOKEN, LESS_ACTION, LESS_TOKEN, LESS_TOKENS, MORE_ACTION, MORE_TOKEN, MORE_TOKENS, NEXT_ACTION, NEXT_TOKEN, NEXT_TOKENS, NO_ACTION, NOR_TOKEN, NOT_TOKEN, NOT_TOKENS, NOT_VALID, NOTNEXT_ACTION, NOTNEXT_TOKEN, NUMBER_TOKEN, NUMBER_TOKENS, OR_ACTION, OR_TOKEN, OR_TOKENS, PREVIOUS_CLUE_TOKEN, RESET_TOKEN, THAN_TOKEN, TO_TOKEN, VALUE_NO, VALUE_UNKNOWN, VALUE_YES
 
Constructor Summary
Processor(Grid myGrid_arg)
          Constructor.
 
Method Summary
 void analyse()
          This method loops through the various methods that perfom the analysis.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Processor

public Processor(Grid myGrid_arg)
Constructor. Accepts a reference to the data structure, in order to be able to add relationship, or retreive relationship information.
Parameters:
myGrid_arg - the reference to the data structure grid
Method Detail

analyse

public void analyse()
This method loops through the various methods that perfom the analysis. The loop is designed to cycle throught the methods until no more change is applied to the data structure by any of the method.