constructing a triangle graph
$10-30 USD
Paid on delivery
Input: Interactively input a number of vertices “n”, a permutation of numbers 1,2,…,n and n
intervals (for each interval ask to input start and finish points).
Output: Draw an intersection model (two parallel lines; on one line the permutation of numbers
1,2,…,n and on the other intervals numbered from 1 to n. Ends of each interval i connect by
segments with the point i on the other line; you get n triangles squeezed between two parallel
lines) and the triangle graph obtained from the model (the intersection graph of those
triangles).
Project ID: #10226611
About the project
Awarded to:
Большой опыт работы с яваскрипт, позволяет выполнить работу быстро и качественно. Прошу уточнить - на чем писать C или JavaScript
4 freelancers are bidding on average $36 for this job
Hey there, most certainly this can be done, give me one sample input and output in text file, I saw the pictures, am not fully sure what you are asking for.
I have understood your requirements. Please specify if you have any scaling for the numbers in mind? Or shall just apply autofit contents as default?