pub enum Settling {
Agreed,
Split,
Oscillating,
Anchored,
}Expand description
Whether the iteration settled, and on what.
Variants§
Agreed
Every agent holds the same opinion: a consensus.
Split
The iteration reached a fixed point on which agents still differ, which means the trust graph holds more than one closed group.
Oscillating
No fixed point inside the iteration budget: a periodic trust graph, which is what a pair that listen only to each other and not at all to themselves produce.
Anchored
The agents settled while still holding different opinions, because each stayed partly anchored to the ballot it cast.
Not a failure and not the same thing as a split. Under Friedkin and Johnsen the persistent disagreement is the result: reporting one number for the group would be reporting a position none of them holds.
Trait Implementations§
impl Copy for Settling
Source§impl<'de> Deserialize<'de> for Settling
impl<'de> Deserialize<'de> for Settling
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Settling
impl StructuralPartialEq for Settling
Auto Trait Implementations§
impl Freeze for Settling
impl RefUnwindSafe for Settling
impl Send for Settling
impl Sync for Settling
impl Unpin for Settling
impl UnsafeUnpin for Settling
impl UnwindSafe for Settling
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more