InfiniteGrid
public struct InfiniteGrid<Filter> : GraphProtocol where Filter : GridFilterextension InfiniteGrid: IncidenceGraphextension InfiniteGrid: BidirectionalGraphextension InfiniteGrid: SearchDefaultsGraphextension InfiniteGrid: DefaultInitializable where Filter: DefaultInitializableA graph of two dimensional coordinates and their local connections.
- 
                  
                  Undocumented DeclarationSwift public init(_ filter: Filter)
- 
                  
                  Name of a vertex in self.DeclarationSwift public typealias VertexId = Point2
- 
                  
                  Name of an edge in self.DeclarationSwift public typealias EdgeId = GridEdge
- 
                  
                  The collection of edges from a single vertex in an infinite grid. See moreDeclarationSwift public struct VertexEdgeCollection : Collection
- 
                  
                  Returns the collection of edges whose source is vertex.DeclarationSwift public func edges(from vertex: VertexId) -> VertexEdgeCollection
- 
                  
                  Returns the source VertexIdofedge.
- 
                  
                  Returns the destnation VertexIdofedge.
- 
                  
                  The collection of all edges whose destination is a single vertex in an infinite grid. See moreDeclarationSwift public struct VertexInEdgeCollection : Collection
- 
                  
                  DeclarationSwift public func edges(to vertex: VertexId) -> VertexInEdgeCollection
- 
                  
                  The default color map to use when searching self.DeclarationSwift public typealias DefaultColorMap = DictionaryPropertyMap<`Self`, VertexId, VertexColor>
- 
                  
                  Creates a vertex color map repeating colorfor every vertex inself.DeclarationSwift public func makeDefaultColorMap(repeating color: VertexColor) -> DefaultColorMap
- 
                  
                  DeclarationSwift public func makeDefaultVertexIntMap(repeating value: Int) -> DictionaryPropertyMap<`Self`, VertexId, Int>
- 
                  
                  DeclarationSwift public func makeDefaultVertexVertexMap(repeating vertex: VertexId) -> DictionaryPropertyMap<`Self`, VertexId, VertexId>
- 
                  
                  Creates an infinite grid with a default initialized filter. DeclarationSwift public init()
 View on GitHub
            View on GitHub
           InfiniteGrid Structure Reference
      InfiniteGrid Structure Reference