public boolean getBoolean(Tuple t) {
   if (t instanceof Node) {
     System.err.println("===" + ((Node) t).getInt(NODECOUNT));
     if (((Node) t).getDepth() == 0) return true;
     else return t.canGetInt(NODECOUNT) && ((Node) t).getInt(NODECOUNT) > cutoff_frequency;
   }
   if (((Edge) t).getSourceNode().getInt(NODECOUNT) <= cutoff_frequency) return false;
   if (((Edge) t).getTargetNode().getInt(NODECOUNT) <= cutoff_frequency) return false;
   return true;
 }