in too deep
This commit is contained in:
@@ -18,4 +18,14 @@
|
||||
package tenor;
|
||||
|
||||
public class QuantizedToSingularTaskRelationship extends TaskRelationship implements ISingularChildTaskRelationship, IQuantizedParentTaskRelationship {
|
||||
|
||||
@Override
|
||||
public QuantityRelationship cost() {
|
||||
return x -> child().cost();
|
||||
}
|
||||
|
||||
@Override
|
||||
public double allocatedPriority() {
|
||||
throw new UnsupportedOperationException("Cannot allocate priority from quantized parent to singular child");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user