category
graph_types
A set of graph related types and generators.
logtalk_load(graphs(loader))static
Provided types: This category adds
vertex,edge, andweighted_edgetypes for type-checking when using thetypelibrary object.Type
vertex: Any non-variable term.Type
edge: An unweighted edge represented as aV1-V2pair of vertices.Type
weighted_edge: A weighted edge represented as(V1-V2)-WeightwhereV1andV2are vertices andWeightis a number.Generating edges: Use the
edges(N,V0,V)generator for unweighted edges orweighted_edges(N,V0,V,W)for weighted edges.Nis the upper limit to the number of edges.V0andVmust be positive integers and will be used for the range of vertices.Wis the upper limit for edge weights (positive integers).
Public predicates
(no local declarations; see entity ancestors if any)
Protected predicates
(no local declarations; see entity ancestors if any)
Private predicates
(no local declarations; see entity ancestors if any)
Operators
(none)