Interface GeometricGraphNode

All Known Subinterfaces:
AgentGraphNode, LongAgentGraphNode
All Known Implementing Classes:
AgentGraphNodeImpl, LongAgentGraphNodeImpl, RailNode

public interface GeometricGraphNode
Defines the contract for types that represent node values in a geometric graph.

A geometric graph is a Graph where:

  • Nodes are represented by instances of types implementing this GeometricGraphNode interface, associating each node with a specific Point in two-dimensional space.
  • Arcs are represented by instances of classes implementing the GeometricGraphArc interface, associating each arc with a Polyline in two-dimensional space that starts at the source node and ends at the destination node.
  • Each arc may have a corresponding reverse arc, where the source and destination nodes are swapped, and the Polyline is reversed relative to the original arc.

Illustration of a simple geometric graph:

Author:
Andrey Malykhanov
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the Point that defines the geometric location of this node in a geometric graph.
  • Method Details

    • getPoint

      Point getPoint()
      Returns the Point that defines the geometric location of this node in a geometric graph.
      Returns:
      a Point representing this node's location in two-dimensional space