func NewTreeTopology(fanout, nTasks uint64) *TreeTopology {
	m := &TreeTopology{
		fanout:     fanout,
		numOfTasks: nTasks,
	}
	return m
}
// Creates a new tree topology with given fanout and number of tasks.
// This will be called during the task graph configuration.
Creates a new tree topology with given fanout and number of tasks.
This will be called during the task graph configuration.
// Creates a new tree topology with given fanout and number of tasks . // This will be called during the task graph configuration .
func NewTreeTopology(fanout, nTasks uint64) *TreeTopology {
	m := &TreeTopology{
		fanout:     fanout,
		numOfTasks: nTasks,
	}
	return m
}
func NewTreeTopology ( fanout , nTasks uint64 ) * TreeTopology { m := & TreeTopology { fanout : fanout , numOfTasks : nTasks , } return m }
Creates a new tree topology with given fanout and number of tasks.
Creates a new tree topology with given fanout and number of tasks .