// Path: amr2Fred/src/amr2fred/Glossary.java
// public static final int ENDLESS = 1000;
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public static final String RECURSIVE_ERROR = " recursive error! ";
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public enum NodeStatus {
//     OK, AMR, ERROR, REMOVE
// }
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public enum NodeType {
//     NOUN, VERB, OTHER, AMR2FRED, FRED, COMMON
// }
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public static final String AMR_INVERSE = ":+.+-of";


import static amr2fred.Glossary.ENDLESS;
import static amr2fred.Glossary.RECURSIVE_ERROR;
import amr2fred.Glossary.NodeStatus;
import static amr2fred.Glossary.NodeStatus.AMR;
import amr2fred.Glossary.NodeType;
import static amr2fred.Glossary.NodeType.OTHER;
import java.util.ArrayList;
import java.util.Objects;
import static amr2fred.Glossary.AMR_INVERSE;
import static amr2fred.Glossary.NodeStatus.REMOVE;
            if (n.relation.matches(AMR_INVERSE) && !n.relation.equalsIgnoreCase(Glossary.AMR_PREP_ON_BEHALF_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_CONSIST_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_PART_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_SUB_EVENT_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_SUBSET_OF)
                    && n.status != REMOVE) {
                nodes.add(n);
            }
        }
        return nodes;
    }

    private String spaces(int n) {

        String spaces = "";
        for (int i = 0; i < n; i++) {
            spaces = spaces.concat("\t");
        }
        return spaces;
    }

    public NodeStatus getStatus() {
        return status;
    }

    public void setStatus(NodeStatus status) {
        this.status = status;
    }

    public int getTreStatus() {
// Path: amr2Fred/src/amr2fred/Glossary.java
// public static final int ENDLESS = 1000;
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public static final String RECURSIVE_ERROR = " recursive error! ";
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public enum NodeStatus {
//     OK, AMR, ERROR, REMOVE
// }
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public enum NodeType {
//     NOUN, VERB, OTHER, AMR2FRED, FRED, COMMON
// }
// 
// Path: amr2Fred/src/amr2fred/Glossary.java
// public static final String AMR_INVERSE = ":+.+-of";


// Path: amr2Fred/src/amr2fred/Node.java
import static amr2fred.Glossary.ENDLESS;
import static amr2fred.Glossary.RECURSIVE_ERROR;
import amr2fred.Glossary.NodeStatus;
import static amr2fred.Glossary.NodeStatus.AMR;
import amr2fred.Glossary.NodeType;
import static amr2fred.Glossary.NodeType.OTHER;
import java.util.ArrayList;
import java.util.Objects;
import static amr2fred.Glossary.AMR_INVERSE;
import static amr2fred.Glossary.NodeStatus.REMOVE;

            if (n.relation.matches(AMR_INVERSE) && !n.relation.equalsIgnoreCase(Glossary.AMR_PREP_ON_BEHALF_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_CONSIST_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_PART_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_SUB_EVENT_OF)
                    && !n.relation.equalsIgnoreCase(Glossary.AMR_SUBSET_OF)
                    && n.status != REMOVE) {
                nodes.add(n);
            }
        }
        return nodes;
    }

    private String spaces(int n) {

        String spaces = "";
        for (int i = 0; i < n; i++) {
            spaces = spaces.concat("\t");
        }
        return spaces;
    }

    public NodeStatus getStatus() {
        return status;
    }

    public void setStatus(NodeStatus status) {
        this.status = status;
    }

    public int getTreStatus() {
        if (Parser.endless > ENDLESS) {