pub fn with_reverse_indices(mut self) -> Self {
        for aid in self.domain.forward_count.keys() {
            self.domain.reverse_count.insert(
                aid.clone(),
                self.raw[aid]
                    .map(|(_e, v)| (v, ()))
                    .arrange_named(&format!("->_Count({})", aid))
                    .trace,
            );
        }

        for aid in self.domain.forward_propose.keys() {
            self.domain.reverse_propose.insert(
                aid.clone(),
                self.raw[&aid]
                    .map(|(e, v)| (v, e))
                    .arrange_named(&format!("->_Propose({})", aid))
                    .trace,
            );
        }

        for aid in self.domain.forward_validate.keys() {
            self.domain.reverse_validate.insert(
                aid.clone(),
                self.raw[&aid]
                    .map(|pair| (pair, ()))
                    .arrange_named(&format!("->_Validate({})", aid))
                    .trace,
            );
        }

        self
    }
/// Installs reverse indices for all attributes in the domain.
Installs reverse indices for all attributes in the domain.
Installs reverse indices for all attributes in the domain .
pub fn with_reverse_indices(mut self) -> Self {
        for aid in self.domain.forward_count.keys() {
            self.domain.reverse_count.insert(
                aid.clone(),
                self.raw[aid]
                    .map(|(_e, v)| (v, ()))
                    .arrange_named(&format!("->_Count({})", aid))
                    .trace,
            );
        }
        for aid in self.domain.forward_propose.keys() {
            self.domain.reverse_propose.insert(
                aid.clone(),
                self.raw[&aid]
                    .map(|(e, v)| (v, e))
                    .arrange_named(&format!("->_Propose({})", aid))
                    .trace,
            );
        }
        for aid in self.domain.forward_validate.keys() {
            self.domain.reverse_validate.insert(
                aid.clone(),
                self.raw[&aid]
                    .map(|pair| (pair, ()))
                    .arrange_named(&format!("->_Validate({})", aid))
                    .trace,
            );
        }
        self
    }
pub fn with_reverse_indices ( mut self ) -> Self { for aid in self . domain . forward_count . keys ( ) { self . domain . reverse_count . insert ( aid . clone ( ) , self . raw [ aid ] . map ( | ( _e , v ) | ( v , ( ) ) ) . arrange_named ( & format ! ( " " aid ) ) . trace , ) ; } for aid in self . domain . forward_propose . keys ( ) { self . domain . reverse_propose . insert ( aid . clone ( ) , self . raw [ & aid ] . map ( | ( e , v ) | ( v , e ) ) . arrange_named ( & format ! ( " " aid ) ) . trace , ) ; } for aid in self . domain . forward_validate . keys ( ) { self . domain . reverse_validate . insert ( aid . clone ( ) , self . raw [ & aid ] . map ( | pair | ( pair , ( ) ) ) . arrange_named ( & format ! ( " " aid ) ) . trace , ) ; } self }
Installs reverse indices for all attributes in the domain.
Installs reverse indices for all attributes in the domain .
mut self
mut self