MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / any

Method any

pyvrp/cpp/DynamicBitset.cpp:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45bool DynamicBitset::any() const
46{
47 for (auto const &bitset : data_)
48 if (bitset.any())
49 return true;
50 return false;
51}
52
53bool DynamicBitset::none() const { return !any(); }
54

Callers 3

test_all_any_noneFunction · 0.95
test_all_any_none_emptyFunction · 0.95
_depotsMethod · 0.80

Calls

no outgoing calls

Tested by 2

test_all_any_noneFunction · 0.76
test_all_any_none_emptyFunction · 0.76