|
HDK
|
Include dependency graph for strengthOrdering.h:Go to the source code of this file.
Functions | |
| PCP_API int | PcpCompareSiblingNodeStrength (const PcpNodeRef &a, const PcpNodeRef &b) |
| PCP_API int | PcpCompareNodeStrength (const PcpNodeRef &a, const PcpNodeRef &b) |
| PCP_API int | PcpCompareSiblingPayloadNodeStrength (const PcpNodeRef &payloadParent, int payloadArcNum, const PcpNodeRef &siblingNode) |
| PCP_API int PcpCompareNodeStrength | ( | const PcpNodeRef & | a, |
| const PcpNodeRef & | b | ||
| ) |
Compares the strength of nodes a and b. These nodes must be part of the same graph; it is a coding error if a and b do not have the same root node.
Returns -1 if a is stronger than b, 0 if a is equivalent to b, 1 if a is weaker than b
| PCP_API int PcpCompareSiblingNodeStrength | ( | const PcpNodeRef & | a, |
| const PcpNodeRef & | b | ||
| ) |
Compares the strength of nodes a and b. These nodes must be siblings; it is a coding error if a and b do not have the same parent node.
Returns -1 if a is stronger than b, 0 if a is equivalent to b, 1 if a is weaker than b
| PCP_API int PcpCompareSiblingPayloadNodeStrength | ( | const PcpNodeRef & | payloadParent, |
| int | payloadArcNum, | ||
| const PcpNodeRef & | siblingNode | ||
| ) |
Compares the strength of a payload node with arcSiblingNum payloadArcNum to a sibling node siblingNode. These nodes must be siblings: it is a coding error if siblingNode 's parent node is not payloadParent.
Returns -1 if the payload node is stronger than siblingNode, 0 if the payload node is equivalent to siblingNode, 1 if the payload node is weaker than siblingNode