ca.pfv.spmf.algorithms.sequentialpatterns.fournier2008_seqdim
Class AbstractAlgoPrefixSpan
- java.lang.Object
-
- ca.pfv.spmf.algorithms.sequentialpatterns.fournier2008_seqdim.AbstractAlgoPrefixSpan
-
- Direct Known Subclasses:
- AlgoBIDEPlus, AlgoFournierViger08, AlgoPrefixSpanMDSPM
public abstract class AbstractAlgoPrefixSpan extends java.lang.ObjectThis class is an abstract class for PrefixSpan based algorithms that are used with the multi-dimensional sequential pattern mining algorithm SeqDim.- See Also:
AlgoSeqDim
-
-
Constructor Summary
Constructors Constructor and Description AbstractAlgoPrefixSpan()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description abstract doublegetMinSupp()Get the minsup parameter used by the algorithm as a double.abstract SequencesrunAlgorithm(SequenceDatabase database)Run the algorithm.
-
-
-
Method Detail
-
runAlgorithm
public abstract Sequences runAlgorithm(SequenceDatabase database) throws java.io.IOException
Run the algorithm.- Parameters:
database- a sequence database- Returns:
- some sequential patterns
- Throws:
java.io.IOException- if error writing to output file (if user wants to write results to output file)
-
getMinSupp
public abstract double getMinSupp()
Get the minsup parameter used by the algorithm as a double.- Returns:
- a double.
-
-
DMelt 3.0 © DataMelt by jWork.ORG