public static boolean canVisualize(Relation<?> rel, AbstractMTree<?, ?, ?, ?> tree) {
    if(!TypeUtil.NUMBER_VECTOR_FIELD.isAssignableFromType(rel.getDataTypeInformation())) {
      return false;
    }
    return getLPNormP(tree) > 0;
  }
public static boolean canVisualize ( Relation < ? > rel , AbstractMTree < ? , ? , ? , ? > tree ) { if ( ! TypeUtil . NUMBER_VECTOR_FIELD . isAssignableFromType ( rel . getDataTypeInformation ( ) ) ) { return false ; } return getLPNormP ( tree ) > 0 ; }
Test for a visualizable index in the context's database.

@param rel Vector relation
@param tree Tree to visualize
@return whether the tree is visualizable