scenic.syntax.relations

Extracting relations (for later pruning) from the syntax of requirements.

Summary of Module Members

Functions

inferDistanceRelations

Infer bounds on distances from a requirement.

inferRelationsFrom

Infer relations between objects implied by a requirement.

inferRelativeHeadingRelations

Infer bounds on relative headings from a requirement.

Classes

BoundRelation

Abstract relation bounding something about another object.

DistanceRelation

Relation bounding another object’s distance from this one.

RelativeHeadingRelation

Relation bounding another object’s relative heading with respect to this one.

RequirementMatcher

Member Details

inferRelationsFrom(reqNode, namespace, ego, line)[source]

Infer relations between objects implied by a requirement.

inferRelativeHeadingRelations(matcher, reqNode, ego, line)[source]

Infer bounds on relative headings from a requirement.

inferDistanceRelations(matcher, reqNode, ego, line)[source]

Infer bounds on distances from a requirement.

class BoundRelation(target, lower, upper)[source]

Bases: object

Abstract relation bounding something about another object.

class RelativeHeadingRelation(target, lower, upper)[source]

Bases: scenic.syntax.relations.BoundRelation

Relation bounding another object’s relative heading with respect to this one.

class DistanceRelation(target, lower, upper)[source]

Bases: scenic.syntax.relations.BoundRelation

Relation bounding another object’s distance from this one.