Template Struct CardinalQuorumState¶
Defined in File CardinalQuorumState.hpp
Struct Documentation¶
-
template<typename
Spec>
structdish2::CardinalQuorumState¶ Public Types
-
using
message_t= dish2::QuorumMessage<Spec>¶
Public Functions
-
void
ForgetLearnedBits(dish2::CellQuorumState<Spec> &cell_quorum_state)¶
-
size_t
GetNumLearnedBits(const size_t lev) const¶
-
size_t
GetNumLearnedBits() const¶
-
bool
GetLearnedBit(const size_t lev, const size_t bit) const¶
-
void
ResetTripCounter()¶
-
bool
IsTripCounterComplete() const¶
-
bool
ShouldPush() const¶
-
bool
ShouldPull() const¶
-
void
PushKnownBits(const CellQuorumState<Spec> &cell_quorum_state, const emp::array<char, Spec::NLEV> kin_match_by_lev)¶
-
bool
TryPullIncomingBits()¶
-
void
LearnPulledBits(dish2::CellQuorumState<Spec> &cell_quorum_state, const emp::array<char, Spec::NLEV> kin_match_by_lev)¶
-
using