scenic.syntax.relations¶
Extracting relations (for later pruning) from the syntax of requirements.
Summary of Module Members¶
Functions
Infer bounds on distances from a requirement. |
|
Infer relations between objects implied by a requirement. |
|
Infer bounds on relative headings from a requirement. |
Classes
Abstract relation bounding something about another object. |
|
Relation bounding another object’s distance from this one. |
|
Relation bounding another object’s relative heading with respect to this one. |
|
|
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.