Fairness.Publishers
Class LinearTaxationPublisher

java.lang.Object
  extended by Fairness.Publishers.Publisher
      extended by Fairness.Publishers.LinearTaxationPublisher

public class LinearTaxationPublisher
extends Publisher

LinearTaxationPublisher implements the taxation algorithms from the linear taxation paper.

This class is not used in the current implementation as taxation was not implemented.


Constructor Summary
LinearTaxationPublisher(int availableStripes)
          Constructs a new LinearTaxationPublisher that splits its content into the given number of stripes.
 
Method Summary
protected  int getTaxImpl(int r)
          Implements precisely the getTax method, except that the child class can assume the preconditions on r have been checked.
 
Methods inherited from class Fairness.Publishers.Publisher
getAvailableStripes, getTax
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinearTaxationPublisher

public LinearTaxationPublisher(int availableStripes)
Constructs a new LinearTaxationPublisher that splits its content into the given number of stripes.

Method Detail

getTaxImpl

protected int getTaxImpl(int r)
Implements precisely the getTax method, except that the child class can assume the preconditions on r have been checked.

Specified by:
getTaxImpl in class Publisher
See Also:
Publisher.getTax(int)