org.semanticweb.elk.reasoner.saturation.rules
Class RuleApplicationCounter

java.lang.Object
  extended by org.semanticweb.elk.reasoner.saturation.rules.RuleApplicationCounter

public class RuleApplicationCounter
extends Object

An object which can be used to measure the methods invocations of a RuleApplicationVisitor. The fields of the counter correspond to the methods of RuleApplicationVisitor.

Author:
"Yevgeny Kazakov"

Constructor Summary
RuleApplicationCounter()
           
 
Method Summary
 void add(RuleApplicationCounter counter)
          Add the values the corresponding values of the given counter
 long getTotalRuleAppCount()
           
 void reset()
          Reset all counters to zero.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RuleApplicationCounter

public RuleApplicationCounter()
Method Detail

reset

public void reset()
Reset all counters to zero.


add

public void add(RuleApplicationCounter counter)
Add the values the corresponding values of the given counter

Parameters:
counter -

getTotalRuleAppCount

public long getTotalRuleAppCount()


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