| 
    Qualia
    0.2
    
   | 
 
#include <Function.h>

Public Member Functions | |
| Function () | |
| virtual | ~Function () | 
| virtual void | init () | 
| Initializes the function.  More... | |
| virtual unsigned | nInputs () const =0 | 
| Returns the number of inputs.  More... | |
| virtual unsigned | nOutputs () const =0 | 
| Returns the number of outputs.  More... | |
| virtual void | setInputs (const real *input) | 
| Sets the value of the inputs.  More... | |
| virtual void | getOutputs (real *output) const | 
| Get the value of the outputs.  More... | |
| virtual void | setInput (int i, real x)=0 | 
| Sets input i to value x.  More... | |
| virtual float | getOutput (int i) const =0 | 
| Get output i.  More... | |
| virtual void | propagate ()=0 | 
| Propagates inputs to outputs.  More... | |
| virtual void | save (XFile *file)=0 | 
| Saves to file.  More... | |
| virtual void | load (XFile *file)=0 | 
| Loads from file.  More... | |
An abstract class for a feed-forward function, such as a NeuralNetwork.
      
  | 
  inline | 
      
  | 
  inlinevirtual | 
      
  | 
  pure virtual | 
Get output i.
Implemented in NeuralNetwork, and QFunction.
      
  | 
  virtual | 
Get the value of the outputs.
Reimplemented in NeuralNetwork.
      
  | 
  inlinevirtual | 
Initializes the function.
Reimplemented in NeuralNetwork, and QFunction.
      
  | 
  pure virtual | 
Loads from file.
Implemented in NeuralNetwork, GradientFunction, and QFunction.
      
  | 
  pure virtual | 
Returns the number of inputs.
Implemented in NeuralNetwork, and QFunction.
      
  | 
  pure virtual | 
Returns the number of outputs.
Implemented in NeuralNetwork, and QFunction.
      
  | 
  pure virtual | 
Propagates inputs to outputs.
Implemented in NeuralNetwork, and QFunction.
      
  | 
  pure virtual | 
Saves to file.
Implemented in NeuralNetwork, GradientFunction, and QFunction.
      
  | 
  pure virtual | 
Sets input i to value x.
Implemented in NeuralNetwork, and QFunction.
      
  | 
  virtual | 
Sets the value of the inputs.
Reimplemented in NeuralNetwork.
 1.8.3.1