"; } ?> None

TORSCHE Scheduling
Toolbox for Matlab

Name

taskset — creates a set of TASKs

Synopsis


 setoftasks = TASKSET(T[,prec])
 setoftasks = TASKSET(ProcTimeMatrix[,prec]) 
 setoftasks = TASKSET(Graph[,Keyword,TransformFunction[,Parameters]...])

Description

creates a set of tasks with parameters:

T

an array or cell array of tasks ([T1 T2 ...] or {T1 T2 ...})

prec

precedence constraints

ProcTimeMatrix

an array of Processing times, for tasks which will be created inside the taskset.

Graph

Graph object

Keyword

Key word - define type of TransformFunction; 'n2t' - node to task transfer function, 'e2p' - edges' userparams to taskset userparam

TransformFunction

Handler to a transform function, which transform node to task or edges' userparams to taskset userparam. If the variable is empty, standart functions 'node/node2task' and 'graph/edges2param' is used.

Parameters

Parameters passed to transform functions specified by TransformFunction. It defines assignment of userparameters in the input graph to task properties. The transfer function will be called with one input parameter of cell, containing all the input parameters. Default value is: 'ProcTime','ReleaseTime','Deadline','DueDate', 'Weight','Processor','UserParam'

The output 'setoftasks' is a TASKSET object.

Example

 >> T=taskset(Gr,'n2t',@node2task,'proctime','name','e2p',@edges2param)

See also

TASK/TASK, GRAPH/GRAPH, NODE/NODE2TASK, GRAPH/EDGE2PARAM

Webmaster - Jan Dvořák (2004 - 2024)