P4C
The P4 Compiler
Loading...
Searching...
No Matches
PHV::v2::TxScore Class Referenceabstract

TxScore is the interface of an allocation score. More...

#include <tx_score.h>

Inheritance diagram for PHV::v2::TxScore:
[legend]

Public Member Functions

virtual bool better_than (const TxScore *other) const =0
 
virtual std::string str () const =0
 

Detailed Description

TxScore is the interface of an allocation score.

Member Function Documentation

◆ better_than()

virtual bool PHV::v2::TxScore::better_than ( const TxScore * other) const
pure virtual

Implemented in PHV::v2::GreedyTxScore.

◆ str()

virtual std::string PHV::v2::TxScore::str ( ) const
pure virtual

Implemented in PHV::v2::GreedyTxScore.