public void binaryChoice(final PGroup group, final Map<String, Object> params, final DataflowWriteChannel<T> trueBranch, final DataflowWriteChannel<T> falseBranch, final Closure<Boolean> code) {
final Map<String, Object> parameters = new HashMap<String, Object>(params);
parameters.put("inputs", asList(this));
parameters.put("outputs", asList(trueBranch, falseBranch));
group.operator(parameters, new BinaryChoiceClosure(code));
}