org.semanticweb.elk.reasoner.taxonomy.hashing
Class TaxonomyNodeHasher
java.lang.Object
org.semanticweb.elk.reasoner.taxonomy.hashing.TaxonomyNodeHasher
- All Implemented Interfaces:
- Hasher<TaxonomyNode<? extends ElkEntity>>
public class TaxonomyNodeHasher
- extends Object
- implements Hasher<TaxonomyNode<? extends ElkEntity>>
Helper class for hashing TaxonomyNodes based on getMembers(),
getDirectSubNodes(), and getDirectSuperNodes().
- Author:
- Frantisek Simancik
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static TaxonomyNodeHasher INSTANCE
- We use one static instance for hashing all nodes.
hash
public int hash(TaxonomyNode<? extends ElkEntity> node)
- Specified by:
hash in interface Hasher<TaxonomyNode<? extends ElkEntity>>
Copyright © 2011-2013 Department of Computer Science, University of Oxford. All Rights Reserved.