in too deep

This commit is contained in:
Leijurv
2018-10-30 11:51:49 -07:00
parent e1bb8fd570
commit c887b27df9
24 changed files with 393 additions and 25 deletions

View File

@@ -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");
}
}