internal BackPropagationConnectionContext(object ruleContext, ComputationalConnection<double> connection)
     : base(ruleContext)
 {
     Contract.Requires(connection != null);
     Connection = connection;
 }
Ejemplo n.º 2
0
 protected internal virtual void Initialize(ComputationalConnection<double> connection, object ruleContext)
 {
     var ai = connection as IAdjustableItem;
     if (ai != null) Initialize(ai);
 }
Ejemplo n.º 3
0
 protected internal override void Initialize(ComputationalConnection<double> connection, object ruleContext)
 {
     base.Initialize(connection, ruleContext);
     Initialize(ruleContext);
 }
Ejemplo n.º 4
0
 protected internal virtual object CreateRuleContext(ComputationalConnection<double> forConnection)
 {
     return null;
 }
Ejemplo n.º 5
0
 protected internal override object CreateRuleContext(ComputationalConnection<double> forConnection)
 {
     return new ErrorContext();
 }