Lines Matching refs:costs
57 Vector costs;
62 NodeEntry(const Vector &costs) : costs(costs), degree(0) {} in NodeEntry() argument
63 Vector& getCosts() { return costs; } in getCosts()
64 const Vector& getCosts() const { return costs; } in getCosts()
83 Matrix costs; variable
87 EdgeEntry(NodeItr node1, NodeItr node2, const Matrix &costs) in EdgeEntry() argument
88 : node1(node1), node2(node2), costs(costs) {} in EdgeEntry()
91 Matrix& getCosts() { return costs; } in getCosts()
92 const Matrix& getCosts() const { return costs; } in getCosts()
168 NodeItr addNode(const Vector &costs) { in addNode() argument
169 return addConstructedNode(NodeEntry(costs)); in addNode()
177 const Matrix &costs) { in addEdge() argument
178 assert(getNodeCosts(n1Itr).getLength() == costs.getRows() && in addEdge()
179 getNodeCosts(n2Itr).getLength() == costs.getCols() && in addEdge()
181 return addConstructedEdge(EdgeEntry(n1Itr, n2Itr, costs)); in addEdge()