net.kwfgrid.gwes.workflowanalyzer
Class TransitionActivityStatistics

java.lang.Object
  extended by net.kwfgrid.gwes.workflowanalyzer.TransitionActivityStatistics

public class TransitionActivityStatistics
extends Object

Version:
$Id: TransitionActivityStatistics.java 1540 2011-08-17 13:30:37Z hoheisel $
Author:
Andreas Hoheisel (www.andreas-hoheisel.de)

Constructor Summary
TransitionActivityStatistics()
           
 
Method Summary
 DistributionSet get(OperationResourcePair orp)
          Get the distribution set for a specific operation/resource pair.
 DistributionSet getAggregatedSet()
          Updates and returns the aggregated set of distributions, that means the overall distribution regarding the distributions for all operation/resource pairs.
 Map<OperationResourcePair,DistributionSet> getDistributionMap()
           
 void put(Activity activity)
          Put an activity to the correct distribution set, considering the operation/resource pair of this activity.
 void updateTransitionProperties(net.kwfgrid.gworkflowdl.structure.GenericProperties props)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitionActivityStatistics

public TransitionActivityStatistics()
Method Detail

getDistributionMap

public Map<OperationResourcePair,DistributionSet> getDistributionMap()

put

public void put(Activity activity)
Put an activity to the correct distribution set, considering the operation/resource pair of this activity.

Parameters:
activity -

get

public DistributionSet get(OperationResourcePair orp)
Get the distribution set for a specific operation/resource pair.

Returns:
The set of distributions.

getAggregatedSet

public DistributionSet getAggregatedSet()
Updates and returns the aggregated set of distributions, that means the overall distribution regarding the distributions for all operation/resource pairs. This method may be expensive, as it iterates through all distribution sets.

Returns:
The aggregated distribution set.

updateTransitionProperties

public void updateTransitionProperties(net.kwfgrid.gworkflowdl.structure.GenericProperties props)


Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.