com.rapidminer.operator.learner.associations.fpgrowth
Interface FrequencyStack

All Known Implementing Classes:
ListFrequencyStack

public interface FrequencyStack

A stack for frequencies.

Author:
Sebastian Land

Method Summary
 int getFrequency(int height)
          Returns the frequency stored on height of stack.
 void increaseFrequency(int stackHeight, int value)
          Increases the frequency stored on stackHeight level of stack by value, if stackHeight is the top of stack, or stackHeight is top of stack + 1
 void popFrequency(int height)
          This method deletes the heightTH element of stack.
 

Method Detail

increaseFrequency

void increaseFrequency(int stackHeight,
                       int value)
Increases the frequency stored on stackHeight level of stack by value, if stackHeight is the top of stack, or stackHeight is top of stack + 1

Parameters:
stackHeight - describes the level of stack, counted from bottom on which the value is added
value - is the amount added

popFrequency

void popFrequency(int height)
This method deletes the heightTH element of stack.


getFrequency

int getFrequency(int height)
Returns the frequency stored on height of stack.



Copyright © 2001-2009 by Rapid-I