17 using System.Collections.Generic;
29 private readonly Func<IEnumerable<CoarseFundamental>, IEnumerable<Symbol>> _coarseSelector;
36 Func<IEnumerable<CoarseFundamental>, IEnumerable<Symbol>> coarseSelector,
39 : base(false, universeSettings)
41 _coarseSelector = coarseSelector;
50 PyObject coarseSelector,
53 : base(false, universeSettings)
55 Func<IEnumerable<CoarseFundamental>,
object> func;
56 if (coarseSelector.TryConvertToDelegate(out func))
58 _coarseSelector = func.ConvertToUniverseSelectionSymbolDelegate();
65 return _coarseSelector(coarse);