1package umontreal.ssj.latnetbuilder.weights;
3import java.io.IOException;
6import umontreal.ssj.mcqmctools.anova.CoordinateSet;
7import umontreal.ssj.mcqmctools.anova.CoordinateSetLong;
37 this.productWeights = pWeights;
38 this.orderDependentWeights = odWeights;
48 this.productWeights = pWeights;
60 this.orderDependentWeights = odWeights;
145 StringBuffer sb =
new StringBuffer(
"");
146 sb.append(
"POD weights:\n");
149 return sb.toString();
154 StringBuffer sb =
new StringBuffer(
"");
165 return sb.toString();
Class implementing order dependent weights.
void setProductWeights(ProductWeights productWeights)
Setter for the product weight-component.
PODWeights(OrderDependentWeights odWeights)
Constructor for given orderDependentWeights and productWeights is constructed by the default construc...
void setOrderDependentWeights(OrderDependentWeights orderDependentWeights)
Setter for the order dependent weight-component.
OrderDependentWeights getOrderDependentWeights()
Getter for the order dependent weight-component.
void addProductWeight(int index, double weight)
Adds a product weight by passing the coordinate index and the value of the weight.
String toString()
Basic formatted string-output.
String toLatNetBuilder()
Provides a String that can be interpreted by the command line interface of LatNetBuilder.
void addOrderDependentWeight(SingletonWeightComparable< Integer > weight)
Adds the order dependent weight 'weight'.
PODWeights(ProductWeights pWeights)
Constructor for given productWeights and orderDependentWeights is constructed by the default construc...
ProductWeights productWeights
The product weight-component.
void addOrderDependentWeight(int ord, double weight)
Adds an order dependent weight by passing the order and the value of the weight.
OrderDependentWeights orderDependentWeights
The order dependent weight-component.
PODWeights()
Default constructor.
void addProductWeight(SingletonWeightComparable< Integer > weight)
Adds the product weight 'weight'.
PODWeights(ProductWeights pWeights, OrderDependentWeights odWeights)
Constructs an instance of POD weights.
ProductWeights getProductWeights()
Getter for the product weight-component.
Class implementing product weights.
Implements single instances of weights.
Weights(List< SingletonWeight< T > > w)
Constructs weights from a list of SingletonWeights.