org.jppf.server.scheduler.bundle.impl
Class RLBundler

java.lang.Object
  extended by org.jppf.server.scheduler.bundle.AbstractBundler
      extended by org.jppf.server.scheduler.bundle.rl.AbstractRLBundler
          extended by org.jppf.server.scheduler.bundle.impl.RLBundler
All Implemented Interfaces:
Bundler

public class RLBundler
extends AbstractRLBundler

Bundler based on a reinforcement learning algorithm.

Author:
Laurent Cohen

Field Summary
 
Fields inherited from class org.jppf.server.scheduler.bundle.rl.AbstractRLBundler
action, bundleSize, dataHolder, prevBundleSize
 
Fields inherited from class org.jppf.server.scheduler.bundle.AbstractBundler
bundlerNumber, profile, timestamp
 
Constructor Summary
RLBundler(LoadBalancingProfile profile)
          Creates a new instance with the specified parameters.
 
Method Summary
 Bundler copy()
          Make a copy of this bundler
protected  int maxSize()
          Get the max bundle size that can be used for this bundler.
 
Methods inherited from class org.jppf.server.scheduler.bundle.rl.AbstractRLBundler
dispose, feedback, feedback2, getBundleSize, getDataHolder, setBundleSize, setup
 
Methods inherited from class org.jppf.server.scheduler.bundle.AbstractBundler
getBundlerNumber, getProfile, getTimestamp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RLBundler

public RLBundler(LoadBalancingProfile profile)
Creates a new instance with the specified parameters.

Parameters:
profile - the parameters of the algorithm, grouped as a performance analysis profile.
Method Detail

copy

public Bundler copy()
Make a copy of this bundler

Returns:
a Bundler instance.
See Also:
Bundler.copy()

maxSize

protected int maxSize()
Get the max bundle size that can be used for this bundler.

Specified by:
maxSize in class AbstractBundler
Returns:
the bundle size as an int.
See Also:
AbstractBundler.maxSize()


Copyright © 2005-2010 JPPF Team.