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