HOG2
|
Classes | |
class | GraphHeuristic |
Functions | |
Graph * | GetPolyGraph (int numExampleNodes) |
Graph * | GetExpoGraph (int numExampleNodes, bool a) |
Graph * | GetExpoGraphA (int N) |
Graph * | GetExpoGraphB (int N) |
Graph * | GetWeightedInconsistency (float w, int numExampleNodes) |
Variables | |
const int | kHeuristic = GraphSearchConstants::kTemporaryLabel |
Graph* GraphInconsistencyExamples::GetExpoGraph | ( | int | numExampleNodes, |
bool | a | ||
) |
Definition at line 71 of file GraphInconsistencyInstances.cpp.
References Graph::AddEdge(), Graph::AddNode(), Graph::GetNode(), kHeuristic, GraphSearchConstants::kXCoordinate, GraphSearchConstants::kYCoordinate, GraphSearchConstants::kZCoordinate, PI, node::SetLabelF(), and node::SetLabelL().
Referenced by GetExpoGraphA(), and GetExpoGraphB().
Graph * GraphInconsistencyExamples::GetExpoGraphA | ( | int | N | ) |
Definition at line 117 of file GraphInconsistencyInstances.cpp.
References GetExpoGraph().
Graph * GraphInconsistencyExamples::GetExpoGraphB | ( | int | N | ) |
Definition at line 123 of file GraphInconsistencyInstances.cpp.
References GetExpoGraph().
Graph * GraphInconsistencyExamples::GetPolyGraph | ( | int | numExampleNodes | ) |
Definition at line 15 of file GraphInconsistencyInstances.cpp.
References Graph::AddEdge(), Graph::AddNode(), node::GetNum(), kHeuristic, GraphSearchConstants::kXCoordinate, GraphSearchConstants::kYCoordinate, GraphSearchConstants::kZCoordinate, node::SetLabelF(), and node::SetLabelL().
Graph * GraphInconsistencyExamples::GetWeightedInconsistency | ( | float | w, |
int | numExampleNodes | ||
) |
(std::max(2.0f, w/(w-1.0f)))));
Definition at line 129 of file GraphInconsistencyInstances.cpp.
References Graph::AddEdge(), Graph::AddNode(), node::GetNum(), kHeuristic, GraphSearchConstants::kXCoordinate, GraphSearchConstants::kYCoordinate, GraphSearchConstants::kZCoordinate, and node::SetLabelF().
const int GraphInconsistencyExamples::kHeuristic = GraphSearchConstants::kTemporaryLabel |
Definition at line 17 of file GraphInconsistencyInstances.h.
Referenced by GetExpoGraph(), GetPolyGraph(), GetWeightedInconsistency(), and GraphInconsistencyExamples::GraphHeuristic::HCost().