Topological

scalation.database.graph.Topological
trait Topological(var elem: Element, var dist: Double) extends PartiallyOrdered[Topological]

The Topological trait provides topological coordinates that are topologically partially ordered.

Value parameters

dist

its distance along the segment

elem

the element in the graph (at a vertex or on an edge)

Attributes

Graph
Supertypes
trait PartiallyOrdered[Topological]
class Object
trait Matchable
class Any
Known subtypes
class SimAgent
class Customer
class Reporter
class Call
class Car
class Car
class Bus
class Gate
class Source
Show all

Members list

Type members

Inherited types

type AsPartiallyOrdered = Function1

Attributes

Inherited from:
PartiallyOrdered

Value members

Concrete methods

def neighbors: ArrayBuffer[Topological]

Return the topological objects/tokens in the neighborhood of this token.

Return the topological objects/tokens in the neighborhood of this token.

Attributes

def neighbors(d: Double): ArrayBuffer[Topological]

Return the topological objects/tokens in the neighborhood of this token within distance d.

Return the topological objects/tokens in the neighborhood of this token within distance d.

Value parameters

d

the maximum allowed distance to be considered in the neighborhood

Attributes

override def toString: String

Convert the spatial object to a string.

Convert the spatial object to a string.

Attributes

Definition Classes
Any
infix def tryCompareTo[B >: Topological : AsPartiallyOrdered](other: B): Option[Int]

Compare two spatial objects based on their space coordinates.

Compare two spatial objects based on their space coordinates.

Value parameters

other

the other item to compare with this item

Attributes

Inherited methods

def <[B >: Topological : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def <=[B >: Topological : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def >[B >: Topological : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered
def >=[B >: Topological : AsPartiallyOrdered](that: B): Boolean

Attributes

Inherited from:
PartiallyOrdered

Concrete fields

var dist: Double
var elem: Element