org.processmining.framework.models.logabstraction
Class ProcessInstanceBasedAbstraction

java.lang.Object
  extended by org.processmining.framework.models.logabstraction.LogAbstraction
      extended by org.processmining.framework.models.logabstraction.ProcessInstanceBasedAbstraction
Direct Known Subclasses:
MultiSetAbstraction, PrefixAbstraction

public abstract class ProcessInstanceBasedAbstraction
extends LogAbstraction

Title:

Description:

Copyright: Copyright (c) 2004

Company:

Version:
1.0
Author:
not attributable

Field Summary
protected  java.util.ArrayList<ProcessInstance> instances
          The set of process instances clustered by this contributor, implemented as a list of process instances for performance (set semantics, if required, are supposed to be retained by the specific implementation, i.e.
protected  double weight
           
 
Constructor Summary
ProcessInstanceBasedAbstraction(ProcessInstanceScale scale)
           
 
Method Summary
 void addInstance(ProcessInstance pi)
          Adds a process instance to the set represented by this contributor instance.
abstract  double calculateFitness(LogAbstraction la)
          NOT IMPLEMENTED: Override this method in your implementation!
abstract  RecommendationResult generateRecommendations(LogAbstraction la, java.lang.String queryID)
          NOT IMPLEMENTED: Override this method in your implementation!
 java.util.ArrayList<ProcessInstance> getInstances()
           
 double getWeight()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

weight

protected double weight

instances

protected java.util.ArrayList<ProcessInstance> instances
The set of process instances clustered by this contributor, implemented as a list of process instances for performance (set semantics, if required, are supposed to be retained by the specific implementation, i.e. making sure no two equal process instances are contained in this list).

Constructor Detail

ProcessInstanceBasedAbstraction

public ProcessInstanceBasedAbstraction(ProcessInstanceScale scale)
Method Detail

calculateFitness

public abstract double calculateFitness(LogAbstraction la)
Description copied from class: LogAbstraction
NOT IMPLEMENTED: Override this method in your implementation!

Specified by:
calculateFitness in class LogAbstraction

generateRecommendations

public abstract RecommendationResult generateRecommendations(LogAbstraction la,
                                                             java.lang.String queryID)
Description copied from class: LogAbstraction
NOT IMPLEMENTED: Override this method in your implementation!

Specified by:
generateRecommendations in class LogAbstraction

getInstances

public java.util.ArrayList<ProcessInstance> getInstances()
Returns:
the set of process instances clustered by this contributor instance.

getWeight

public double getWeight()
Specified by:
getWeight in class LogAbstraction

addInstance

public void addInstance(ProcessInstance pi)
Adds a process instance to the set represented by this contributor instance.

Parameters:
instance - The new process instance to be added.