Lines Matching refs:NodeSizes
442 ExtTSPImpl(size_t NumNodes, const std::vector<uint64_t> &NodeSizes, in ExtTSPImpl() argument
446 initialize(NodeSizes, NodeCounts, EdgeCounts); in ExtTSPImpl()
466 void initialize(const std::vector<uint64_t> &NodeSizes, in initialize() argument
472 uint64_t Size = std::max<uint64_t>(NodeSizes[Node], 1ULL); in initialize()
912 const std::vector<uint64_t> &NodeSizes, in applyExtTspLayout() argument
915 size_t NumNodes = NodeSizes.size(); in applyExtTspLayout()
918 assert(NodeCounts.size() == NodeSizes.size() && "Incorrect input"); in applyExtTspLayout()
922 auto Alg = ExtTSPImpl(NumNodes, NodeSizes, NodeCounts, EdgeCounts); in applyExtTspLayout()
933 const std::vector<uint64_t> &Order, const std::vector<uint64_t> &NodeSizes, in calcExtTspScore() argument
937 auto Addr = std::vector<uint64_t>(NodeSizes.size(), 0); in calcExtTspScore()
939 Addr[Order[Idx]] = Addr[Order[Idx - 1]] + NodeSizes[Order[Idx - 1]]; in calcExtTspScore()
948 Score += extTSPScore(Addr[Pred], NodeSizes[Pred], Addr[Succ], Count); in calcExtTspScore()
954 const std::vector<uint64_t> &NodeSizes, in calcExtTspScore() argument
957 auto Order = std::vector<uint64_t>(NodeSizes.size()); in calcExtTspScore()
958 for (size_t Idx = 0; Idx < NodeSizes.size(); Idx++) { in calcExtTspScore()
961 return calcExtTspScore(Order, NodeSizes, NodeCounts, EdgeCounts); in calcExtTspScore()