Path
in package
Represents a traversal path.
Tags
Table of Contents
Methods
- __construct() : mixed
- Path constructor.
- getEdges() : ArrayList
- Return all the path edges
- getVertices() : ArrayList
- Return all the path vertices
Methods
__construct()
Path constructor.
public
__construct(array<string|int, mixed> $edges, array<string|int, mixed> $vertices) : mixed
Parameters
- $edges : array<string|int, mixed>
-
Path edges
- $vertices : array<string|int, mixed>
-
Path vertices
Tags
getEdges()
Return all the path edges
public
getEdges() : ArrayList
Return values
ArrayListgetVertices()
Return all the path vertices
public
getVertices() : ArrayList