0% found this document useful (0 votes)
8 views

Output Indexes

The document describes a function that takes an input and returns an output vector of indexes based on the region property of the input.

Uploaded by

vasundhara
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views

Output Indexes

The document describes a function that takes an input and returns an output vector of indexes based on the region property of the input.

Uploaded by

vasundhara
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. Developed a Graph using Output-Indexes.

output_indexes_out :: output_indexes(in) =
begin
output_indexes_out :: if(in.region=="East")[vector 0,2]

else if(in.region=="West")[vector 0,1]


else if(in.region=="North")[vector 2]
else [vector 1,3];
end;

You might also like