Allocation and Scheduling of Conditional Task Graphs