@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } // the resulting branches are those of the step function // because the BulkPartialSolution takes the input's branches addClosedBranches(getSingleRootOfStepFunction().closedBranchingNodes); List<UnclosedBranchDescriptor> result = getSingleRootOfStepFunction().openBranches; this.openBranches = (result == null || result.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : result; }
@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } // the resulting branches are those of the step function // because the BulkPartialSolution takes the input's branches addClosedBranches(getSingleRootOfStepFunction().closedBranchingNodes); List<UnclosedBranchDescriptor> result = getSingleRootOfStepFunction().openBranches; this.openBranches = (result == null || result.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : result; }
@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } // the resulting branches are those of the step function // because the BulkPartialSolution takes the input's branches addClosedBranches(getSingleRootOfStepFunction().closedBranchingNodes); List<UnclosedBranchDescriptor> result = getSingleRootOfStepFunction().openBranches; this.openBranches = (result == null || result.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : result; }
@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } // the resulting branches are those of the step function // because the BulkPartialSolution takes the input's branches addClosedBranches(getSingleRootOfStepFunction().closedBranchingNodes); List<UnclosedBranchDescriptor> result = getSingleRootOfStepFunction().openBranches; this.openBranches = (result == null || result.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : result; }
@Override public void computeUnclosedBranchStack() { if (this.openBranches != null) { return; } // the resulting branches are those of the step function // because the BulkPartialSolution takes the input's branches addClosedBranches(getSingleRootOfStepFunction().closedBranchingNodes); List<UnclosedBranchDescriptor> result = getSingleRootOfStepFunction().openBranches; this.openBranches = (result == null || result.isEmpty()) ? Collections.<UnclosedBranchDescriptor>emptyList() : result; }