def ef_nonants(ef): # Wrapper to call someone's ef_nonants # (the function being called is very short, but it might be changed) if use_mpisppy: return sputils.ef_nonants(ef) else: return local_ef.ef_nonants(ef)
def nonants(self): """ An iterator to give representative Vars subject to non-anticipitivity Args: None Yields: tree node name, full EF Var name, Var value """ yield from sputils.ef_nonants(self.ef)