|
Biorithm
1.1
|
A struct that represents the distance between two functions in a DAG. The struct does not store any information about the two functions themselves. However, the struct represents the length of a path from one function to another by traversing some distance up the DAG from the first function to a least common ancestor and then traversing some distance down the DAG to the second function. ! More...
#include <reporter.h>
Public Member Functions | |
| MyGainDAGDistanceType (int u=-1, int d=-1) | |
| MyGainCompareFunctionType | computeDistanceType () const |
| unsigned int | getDistance () const |
| MyGainCompareFunctionType | getDistanceType () const |
| bool | operator< (const MyGainDAGDistanceType &other) const |
| Return true if and only if the invocant represents a closer function than other. | |
| void | print (ostream &ostr) const |
| Print the distance up and distance down to an output stream. | |
A struct that represents the distance between two functions in a DAG. The struct does not store any information about the two functions themselves. However, the struct represents the length of a path from one function to another by traversing some distance up the DAG from the first function to a least common ancestor and then traversing some distance down the DAG to the second function. !
| bool MyGainDAGDistanceType::operator< | ( | const MyGainDAGDistanceType & | other | ) | const |
Return true if and only if the invocant represents a closer function than other.
1.7.6.1