SweepableEstimator\MultiModelPipeline.cs (12)
17private readonly Dictionary<string, SweepableEstimator> _estimators;
22_estimators = new Dictionary<string, SweepableEstimator>();
26internal MultiModelPipeline(Dictionary<string, SweepableEstimator> estimators, Entity schema)
32public Dictionary<string, SweepableEstimator> Estimators { get => _estimators; }
42public MultiModelPipeline Append(params SweepableEstimator[] estimators)
45foreach (var estimator in estimators)
59public MultiModelPipeline AppendOrSkip(params SweepableEstimator[] estimators)
62foreach (var estimator in estimators)
134private Entity CreateSweepableEntityFromEntity(Entity entity, Dictionary<string, SweepableEstimator> lookupTable)
170private Entity VisitAndReplaceSweepableEntityWithStringEntity(Entity e, ref Dictionary<string, SweepableEstimator> estimators)
185estimators[id] = (SweepableEstimator)sweepableEntity0.Estimator;
195private string GetNextId(Dictionary<string, SweepableEstimator> estimators)
SweepableEstimator\SweepablePipeline.cs (12)
21private readonly Dictionary<string, SweepableEstimator> _estimators = new Dictionary<string, SweepableEstimator>();
68_estimators = new Dictionary<string, SweepableEstimator>();
72internal SweepablePipeline(Dictionary<string, SweepableEstimator> estimators, Entity schema, string currentSchema = null)
79public Dictionary<string, SweepableEstimator> Estimators { get => _estimators; }
94var estimator = _estimators[key];
122if (sweepable is SweepableEstimator estimator)
162var estimator = _estimators[key];
194private Entity CreateSweepableEntityFromEntity(Entity entity, Dictionary<string, SweepableEstimator> lookupTable)
230private Entity VisitAndReplaceSweepableEntityWithStringEntity(Entity e, ref Dictionary<string, SweepableEstimator> estimators)
245estimators[id] = (SweepableEstimator)sweepableEntity0.Estimator;
255private string GetNextId(Dictionary<string, SweepableEstimator> estimators)