pub fn interpret_vote(&self,min_atl_prefs_needed:usize,min_btl_prefs_needed:usize) -> Option<FormalVote> {
        if let Some(btl) = self.interpret_vote_as_btl(min_btl_prefs_needed) {
            Some(FormalVote::Btl(btl))
        } else if let Some(atl)  = self.interpret_vote_as_atl(min_atl_prefs_needed) {
            Some(FormalVote::Atl(atl))
        } else {None}
    }
/// Given a raw vote, interpret it as a list of preferences.
/// Using AEC style rules,
Given a raw vote, interpret it as a list of preferences.
Using AEC style rules.
Given a raw vote interpret it as a list of preferences . Using AEC style rules .
pub fn interpret_vote(&self,min_atl_prefs_needed:usize,min_btl_prefs_needed:usize) -> Option<FormalVote> {
        if let Some(btl) = self.interpret_vote_as_btl(min_btl_prefs_needed) {
            Some(FormalVote::Btl(btl))
        } else if let Some(atl)  = self.interpret_vote_as_atl(min_atl_prefs_needed) {
            Some(FormalVote::Atl(atl))
        } else {None}
    }
pub fn interpret_vote ( & self , min_atl_prefs_needed : usize , min_btl_prefs_needed : usize ) -> Option < FormalVote > { if let Some ( btl ) = self . interpret_vote_as_btl ( min_btl_prefs_needed ) { Some ( FormalVote :: Btl ( btl ) ) } else if let Some ( atl ) = self . interpret_vote_as_atl ( min_atl_prefs_needed ) { Some ( FormalVote :: Atl ( atl ) ) } else { None } }
Given a raw vote, interpret it as a list of preferences.
Given a raw vote interpret it as a list of preferences .
&self
min_atl_prefs_needed
usize
min_btl_prefs_needed
usize
&self
min_atl_prefs_needed
usize
min_btl_prefs_needed
usize