private Chain(ChainIdentity chainIdentity, Braid braid, LongitudinalEvaluators longitudinalEvaluators, LongitudinalEvaluations evaluations) { _longitudinalEvaluators = longitudinalEvaluators; _evaluations = evaluations; ChainIdentity = chainIdentity; Braid = braid; }
private BraidBuilder(string name, BraidLinkDiscriminators discriminators, ChainBuilder chainBuilder, LongitudinalEvaluators evaluators, int addThreshold) { Name = name; this._discriminators = discriminators; this._chainBuilder = chainBuilder; _evaluators = evaluators; this._addThreshold = addThreshold; }
public static Chain Build(ChainIdentity chainIdentity, Braid braid, LongitudinalEvaluators longitudinalEvaluators) { var evaluations = new LongitudinalEvaluations(); longitudinalEvaluators.SetEvaluationDestination(evaluations); return(new Chain(chainIdentity, braid, longitudinalEvaluators, evaluations)); }
public static ChainBuilder Build(Func <MarkovEvent, ChainIdentity> buildChainIdentity, LongitudinalEvaluators evaluators) { return(new ChainBuilder(buildChainIdentity, evaluators)); }
private ChainBuilder(Func <MarkovEvent, ChainIdentity> buildChainIdentity, LongitudinalEvaluators evaluators) { _buildChainIdentity = buildChainIdentity; _evaluators = evaluators; }
public static BraidBuilder Build(string name, BraidLinkDiscriminators discriminators, ChainBuilder chainBuilder, LongitudinalEvaluators evaluators, int addThreshold = 1) { var braidBuilder = new BraidBuilder(name, discriminators, chainBuilder, evaluators, addThreshold); return(braidBuilder); }