MCPcopy Create free account
hub / github.com/argotorg/solidity / sameSubset

Method sameSubset

libsolutil/DisjointSet.cpp:77–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76template<typename ValueType>
77bool ContiguousDisjointSet<ValueType>::sameSubset(value_type const _x, value_type const _y) const
78{
79 return find(_x) == find(_y);
80}
81
82template<typename ValueType>
83typename ContiguousDisjointSet<ValueType>::size_type ContiguousDisjointSet<ValueType>::sizeOfSubset(value_type const _x) const

Callers 1

BOOST_AUTO_TEST_CASEFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected