Exemplo n.º 1
0
 //Constructor
 /// <summary>
 /// Constructs an instance of State Machine
 /// </summary>
 /// <param name="settings">State Machine settings</param>
 public StateMachine(StateMachineSettings settings)
 {
     _settings = settings.DeepClone();
     //Neural preprocessor instance
     NP = new NeuralPreprocessor(settings.NeuralPreprocessorConfig, settings.RandomizerSeek);
     //Readout layer
     RL = null;
     return;
 }
Exemplo n.º 2
0
 //Constructor
 /// <summary>
 /// Constructs an instance of State Machine
 /// </summary>
 /// <param name="settings">State Machine settings</param>
 public StateMachine(StateMachineSettings settings)
 {
     _settings = settings.DeepClone();
     //Neural preprocessor instance
     NP = new NeuralPreprocessor(settings.NeuralPreprocessorConfig, settings.RandomizerSeek);
     NumOfValidPredictors             = 0;
     PredictorGeneralSwitchCollection = null;
     //Readout layer
     RL = null;
     return;
 }