edu.ucla.belief.approx
Class Macros.Recoverables

Object
  extended by Macros.RecoveryInfo
      extended by Macros.Recoverables
All Implemented Interfaces:
BeliefNetwork.Auditor, Cloneable
Enclosing class:
Macros

public static class Macros.Recoverables
extends Macros.RecoveryInfo
implements Cloneable, BeliefNetwork.Auditor

Since:
20080221

Nested Class Summary
 
Nested classes/interfaces inherited from interface BeliefNetwork.Auditor
BeliefNetwork.Auditor.Deed, BeliefNetwork.Auditor.Intention, BeliefNetwork.Auditor.Unit
 
Constructor Summary
Macros.Recoverables()
           
Macros.Recoverables(Macros.Recoverable... recoverables)
           
 
Method Summary
 String audit(BeliefNetwork bn, Variable from, Variable to, Collection targets, BeliefNetwork.Auditor.Deed deed)
           
 Object clone()
           
 boolean hasPath(BeliefNetwork bn, Map<String,Set<String>> moreedges, String vertex1, Variable vertex2)
           
 boolean maintainsAcyclicity(BeliefNetwork bn, Map<String,Set<String>> moreedges, Variable from, Variable to)
           
static BeliefNetwork postProcess(BeliefNetwork bn)
           
 Map<String,Set<String>> replacedEdges(BeliefNetwork bn)
           
 String toString()
           
 
Methods inherited from class Macros.RecoveryInfo
add, asArray, forSink, forSource, isEmpty, remove, size, sourcesToString
 
Methods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Macros.Recoverables

public Macros.Recoverables()

Macros.Recoverables

public Macros.Recoverables(Macros.Recoverable... recoverables)
Method Detail

clone

public Object clone()
Overrides:
clone in class Macros.RecoveryInfo
Since:
20080225

toString

public String toString()
Overrides:
toString in class Macros.RecoveryInfo

audit

public String audit(BeliefNetwork bn,
                    Variable from,
                    Variable to,
                    Collection targets,
                    BeliefNetwork.Auditor.Deed deed)
Specified by:
audit in interface BeliefNetwork.Auditor
Returns:
an error message to veto creation/removal of the edge, or creation/removal of the variable
Since:
20091124

replacedEdges

public Map<String,Set<String>> replacedEdges(BeliefNetwork bn)
Since:
20091203

maintainsAcyclicity

public boolean maintainsAcyclicity(BeliefNetwork bn,
                                   Map<String,Set<String>> moreedges,
                                   Variable from,
                                   Variable to)
Since:
20091203

hasPath

public boolean hasPath(BeliefNetwork bn,
                       Map<String,Set<String>> moreedges,
                       String vertex1,
                       Variable vertex2)
Since:
20091203

postProcess

public static BeliefNetwork postProcess(BeliefNetwork bn)


Copyright 2010 UCLA Automated Reasoning Group