PandA-2024.02
Public Member Functions
priority_fixed Struct Reference

This is a specialization based on a given fixed priority value. More...

#include <priority.hpp>

Inheritance diagram for priority_fixed:
Inheritance graph
[legend]
Collaboration diagram for priority_fixed:
Collaboration graph
[legend]

Public Member Functions

 priority_fixed (const CustomUnorderedMapUnstable< vertex, int > &priority_value)
 Constructor. More...
 
bool update () override
 This specialization does not update the priorities at the end of the control step. More...
 
- Public Member Functions inherited from priority_data< int >
virtual int operator() (const vertex &_a) const
 Return the priority associated with the vertex. More...
 
virtual int & operator[] (const vertex &_a)
 return the priority associated with the vertex. More...
 
virtual ~priority_data ()=default
 Destructor. More...
 

Detailed Description

This is a specialization based on a given fixed priority value.

The update function does not change the priority at the end of the control step analysis.

Definition at line 150 of file priority.hpp.

Constructor & Destructor Documentation

◆ priority_fixed()

priority_fixed::priority_fixed ( const CustomUnorderedMapUnstable< vertex, int > &  priority_value)
explicit

Constructor.

Definition at line 112 of file priority.cpp.

References priority_data< int >::operator[]().

Here is the call graph for this function:

Member Function Documentation

◆ update()

bool priority_fixed::update ( )
inlineoverridevirtual

This specialization does not update the priorities at the end of the control step.

Implements priority_data< int >.

Definition at line 160 of file priority.hpp.


The documentation for this struct was generated from the following files:

Generated on Mon Feb 12 2024 13:04:01 for PandA-2024.02 by doxygen 1.8.13