public FollowPathHeuristic( IFilteredIndexPicker filteredIndexPicker, TilePropagator propagator, EdgedPathSpec edgedPathSpec) { this.filteredIndexPicker = filteredIndexPicker; this.propagator = propagator; this.edgedPathSpec = edgedPathSpec; }
internal IIndexPicker GetHeuristic( IFilteredIndexPicker filteredIndexPicker, TilePropagator propagator) { if (PathSpec is EdgedPathSpec eps) { return(new FollowPathHeuristic( filteredIndexPicker, propagator, eps)); } else { throw new NotImplementedException(); } }
public DirtyIndexPicker(IFilteredIndexPicker filteredIndexPicker, ITopoArray <int> cleanPatterns) { dirtyIndices = new HashSet <int>(); this.filteredIndexPicker = filteredIndexPicker; this.cleanPatterns = cleanPatterns; }