|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectFairness.Publishers.Publisher
Fairness.Publishers.LinearTaxationPublisher
public class LinearTaxationPublisher
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 |
---|
public LinearTaxationPublisher(int availableStripes)
Method Detail |
---|
protected int getTaxImpl(int r)
getTaxImpl
in class Publisher
Publisher.getTax(int)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |