ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::BorderBased::ConflictSet Class Reference

#include <conflictset.h>

Inheritance diagram for adore::env::BorderBased::ConflictSet:
Inheritance graph
Collaboration diagram for adore::env::BorderBased::ConflictSet:
Collaboration graph

Public Member Functions

 ConflictSet (LaneFollowingGeometry< 20, 200 > *lfg)
 
virtual std::vector< view::ConflictArea * > getConflictAreas () const override
 
virtual bool isValid () const override
 
void update (BorderSet *borderSet, PrecedenceSet *precedenceSet, adore::env::traffic::EgoLaneTraffic *elt, BAContainer *rightBorders, BAContainer *leftBorders)
 
void assembleConflictZones (PrecedenceSet *precedenceSet, BorderSet *borderSet, BAContainer *rightBorders, BAContainer *leftBorders)
 
void mapParticipantsToConflictZones (adore::env::traffic::EgoLaneTraffic *elt, BorderSet *borderSet)
 
std::vector< Coordinate > * getCornerPoints ()
 
std::vector< BorderOverlapSet > * getOverlapSet ()
 
std::vector< Border * > * get_right_borders_of_conf_lanes ()
 
void getBordersToPrint (std::vector< Border * > &result, std::vector< int > &ids)
 

Private Attributes

LaneFollowingGeometry< 20, 200 > * lfg_
 
std::vector< ConflictArea * > ca_
 
std::vector< Coordinatecorner_points_vec
 
std::vector< BorderOverlapSetoverlap_sets
 
std::vector< BorderOverlapoverlapping_borders
 
std::vector< Border * > right_borders_of_conf_lanes
 
bool valid_
 

Constructor & Destructor Documentation

◆ ConflictSet()

adore::env::BorderBased::ConflictSet::ConflictSet ( LaneFollowingGeometry< 20, 200 > *  lfg)
inline

Member Function Documentation

◆ assembleConflictZones()

void adore::env::BorderBased::ConflictSet::assembleConflictZones ( PrecedenceSet precedenceSet,
BorderSet borderSet,
BAContainer rightBorders,
BAContainer leftBorders 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_right_borders_of_conf_lanes()

std::vector<Border *>* adore::env::BorderBased::ConflictSet::get_right_borders_of_conf_lanes ( )
inline
Here is the caller graph for this function:

◆ getBordersToPrint()

void adore::env::BorderBased::ConflictSet::getBordersToPrint ( std::vector< Border * > &  result,
std::vector< int > &  ids 
)
inline
Here is the caller graph for this function:

◆ getConflictAreas()

virtual std::vector<view::ConflictArea *> adore::env::BorderBased::ConflictSet::getConflictAreas ( ) const
inlineoverridevirtual

getConflictAreas - return vector of view::ConflictArea objects

Implements adore::view::ConflictSet.

◆ getCornerPoints()

std::vector<Coordinate>* adore::env::BorderBased::ConflictSet::getCornerPoints ( )
inline
Here is the caller graph for this function:

◆ getOverlapSet()

std::vector<BorderOverlapSet>* adore::env::BorderBased::ConflictSet::getOverlapSet ( )
inline
Here is the caller graph for this function:

◆ isValid()

virtual bool adore::env::BorderBased::ConflictSet::isValid ( ) const
inlineoverridevirtual

isValid - return true if representation of lane is valid

Implements adore::view::ConflictSet.

◆ mapParticipantsToConflictZones()

void adore::env::BorderBased::ConflictSet::mapParticipantsToConflictZones ( adore::env::traffic::EgoLaneTraffic elt,
BorderSet borderSet 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ update()

void adore::env::BorderBased::ConflictSet::update ( BorderSet borderSet,
PrecedenceSet precedenceSet,
adore::env::traffic::EgoLaneTraffic elt,
BAContainer rightBorders,
BAContainer leftBorders 
)
inline

group border overlaps and build border overlap sets

filter overlap sets that result from intersections between parralell lines

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ ca_

std::vector<ConflictArea *> adore::env::BorderBased::ConflictSet::ca_
private

◆ corner_points_vec

std::vector<Coordinate> adore::env::BorderBased::ConflictSet::corner_points_vec
private

◆ lfg_

LaneFollowingGeometry<20, 200>* adore::env::BorderBased::ConflictSet::lfg_
private

◆ overlap_sets

std::vector<BorderOverlapSet> adore::env::BorderBased::ConflictSet::overlap_sets
private

◆ overlapping_borders

std::vector<BorderOverlap> adore::env::BorderBased::ConflictSet::overlapping_borders
private

◆ right_borders_of_conf_lanes

std::vector<Border *> adore::env::BorderBased::ConflictSet::right_borders_of_conf_lanes
private

◆ valid_

bool adore::env::BorderBased::ConflictSet::valid_
private

The documentation for this class was generated from the following file: