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