PandA-2024.02
Public Member Functions | Private Attributes
priority_data< dataType > Struct Template Referenceabstract

Base class used to define the priority associated with each vertex of a list base scheduling problem. More...

#include <priority.hpp>

Inheritance diagram for priority_data< dataType >:
Inheritance graph
[legend]
Collaboration diagram for priority_data< dataType >:
Collaboration graph
[legend]

Public Member Functions

virtual bool update ()=0
 this function updates the value of the priority at the end of the control step analysis. More...
 
virtual dataType operator() (const vertex &_a) const
 Return the priority associated with the vertex. More...
 
virtual dataType & operator[] (const vertex &_a)
 return the priority associated with the vertex. More...
 
virtual ~priority_data ()=default
 Destructor. More...
 

Private Attributes

vertex2obj< dataType > priority_values
 data structure storing the priority values. More...
 

Detailed Description

template<class dataType>
struct priority_data< dataType >

Base class used to define the priority associated with each vertex of a list base scheduling problem.

Definition at line 69 of file priority.hpp.

Constructor & Destructor Documentation

◆ ~priority_data()

template<class dataType>
virtual priority_data< dataType >::~priority_data ( )
virtualdefault

Destructor.

Referenced by priority_data< int >::operator[]().

Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

template<class dataType>
virtual dataType priority_data< dataType >::operator() ( const vertex _a) const
inlinevirtual

Return the priority associated with the vertex.

Constant version

Parameters
_ais the vertex

Definition at line 80 of file priority.hpp.

◆ operator[]()

template<class dataType>
virtual dataType& priority_data< dataType >::operator[] ( const vertex _a)
inlinevirtual

return the priority associated with the vertex.

Constant version

Parameters
_ais the vertex

Definition at line 88 of file priority.hpp.

◆ update()

template<class dataType>
virtual bool priority_data< dataType >::update ( )
pure virtual

this function updates the value of the priority at the end of the control step analysis.

Implemented in priority_fixed, priority_dynamic_mobility, and priority_static_mobility.

Field Documentation

◆ priority_values

template<class dataType>
vertex2obj<dataType> priority_data< dataType >::priority_values
private

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

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