org.semanticweb.elk.reasoner.taxonomy.hashing
Class TaxonomyHasher

java.lang.Object
  extended by org.semanticweb.elk.reasoner.taxonomy.hashing.TaxonomyHasher

public class TaxonomyHasher
extends Object

A class for computing the structural hash of a Taxonomy. This is mainly useful during testing to check if the reasoner produces the same taxonomy.

Author:
Frantisek Simancik, Markus Kroetzsch

Constructor Summary
TaxonomyHasher()
           
 
Method Summary
static int hash(Taxonomy<? extends ElkEntity> taxonomy)
          Compute the hash code of a taxonomy.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TaxonomyHasher

public TaxonomyHasher()
Method Detail

hash

public static int hash(Taxonomy<? extends ElkEntity> taxonomy)
Compute the hash code of a taxonomy.

Parameters:
taxonomy -
Returns:
hash


Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.