import org.wamblee.system.graph.Node;
import org.wamblee.system.graph.Visitor;
+/**
+ * Applies restrictions on a graph by removing all edges that violate the restriction.
+ *
+ * @author Erik Brakkee.
+ *
+ */
public class ApplyRestrictionsVisitor implements Visitor {
private Graph _graph;
private InterfaceRestriction _restriction;
-
+
+ /**
+ * Constructs the visitor.
+ * @param aGraph Graph.
+ * @param aRestriction Restriction.
+ */
public ApplyRestrictionsVisitor(Graph aGraph, InterfaceRestriction aRestriction) {
_graph = aGraph;
_restriction = aRestriction;