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

java.lang.Object
  extended by 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

Field Summary
static InstanceNodeHasher INSTANCE
          We use one static instance for hashing all nodes.
 
Method Summary
 int hash(InstanceNode<? extends ElkEntity,? extends ElkEntity> node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static InstanceNodeHasher INSTANCE
We use one static instance for hashing all nodes.

Method Detail

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.