Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.joone.net
Class NetChecker

    java.lang.Object
      org.joone.net.NetChecker

    public class NetChecker

extends java.lang.Object

Constructor Summary
`NetChecker(NeuralNet netToCheckArg)` Constructor.

Method Summary
`java.util.TreeSet` | `check()` Validation checks for invalid parameter values, misconfiguration, etc.
`boolean` | `hasErrors()` Method to determine whether there are validation errors in the net.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### NetChecker

    public NetChecker(NeuralNet netToCheckArg)

  Constructor. Sets the NeuralNet for this instance.

  Parameters:
    `netToCheckArg` - the NeuralNEt to use.

Method Detail

### check

    public java.util.TreeSet check()

  Validation checks for invalid parameter values, misconfiguration, etc. All network components should include a check method that firstly calls its ancestor check method and adds these to any check messages it produces. This allows check messages to be collected from all levels of a component to be returned to the caller's check method. Using a TreeSet ensures that duplicate messages are removed. Check messages should be produced using the generateValidationErrorMessage method of the NetChecker class.

  Returns:
    validation errors.

### hasErrors

    public boolean hasErrors()

  Method to determine whether there are validation errors in the net.

  Returns:
    true if errors exist.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Submit Feedback to pmarrone@users.sourceforge.net