Advertisement
Markel_fe

Peajes

Nov 12th, 2020
2,877
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ada 6.77 KB | None | 0 0
  1. -- En el primer caso hay 5 peajes en las posiciones 1,4,5,7,10
  2. (
  3.   (
  4.     Cont=>10,
  5.     Ctras=>(
  6.       (Codigo=>(others=>'z'),
  7.       Inicio=>(others=>'z'),
  8.       Final=>(others=>'z'),
  9.       Peaje_km=>7.0,
  10.       Trazado=>(
  11.         Num => 5,
  12.         Ptos => (
  13.           (5.372,2.209),
  14.           (6.352,3.425),
  15.           (8.329,3.291),
  16.           (8.329,4.292),
  17.           (9.281,2.390),
  18.           others=>(100.0,100.0)
  19.         )
  20.       )),
  21.       (Codigo=>(others=>'z'),
  22.       Inicio=>(others=>'z'),
  23.       Final=>(others=>'z'),
  24.       Peaje_km=>0.0,
  25.       Trazado=>(
  26.         Num => 5,
  27.         Ptos => (
  28.           (5.372,2.209),
  29.           (6.332,3.425),
  30.           (5.372,2.209),
  31.           (8.329,4.292),
  32.           (9.281,2.390),
  33.           others=>(100.0,100.0)
  34.         )
  35.       )),
  36.       (Codigo=>(others=>'z'),
  37.       Inicio=>(others=>'z'),
  38.       Final=>(others=>'z'),
  39.       Peaje_km=>0.0,
  40.       Trazado=>(
  41.         Num => 5,
  42.         Ptos => (
  43.           (5.372,2.209),
  44.           (6.332,3.425),
  45.           (7.283,3.209),
  46.           (8.329,4.292),
  47.           (9.281,2.390),
  48.           others=>(100.0,100.0)
  49.         )
  50.       )),
  51.       (Codigo=>(others=>'z'),
  52.       Inicio=>(others=>'z'),
  53.       Final=>(others=>'z'),
  54.       Peaje_km=>4.0,
  55.       Trazado=>(
  56.         Num => 5,
  57.         Ptos => (
  58.           (5.372,2.209),
  59.           (6.332,3.425),
  60.           (7.283,3.209),
  61.           (8.329,4.292),
  62.           (9.281,2.390),
  63.           others=>(100.0,100.0)
  64.         )
  65.       )),
  66.       (Codigo=>(others=>'z'),
  67.       Inicio=>(others=>'z'),
  68.       Final=>(others=>'z'),
  69.       Peaje_km=>7.0,
  70.       Trazado=>(
  71.         Num => 5,
  72.         Ptos => (
  73.           (5.372,2.209),
  74.           (6.332,3.425),
  75.           (7.283,3.209),
  76.           (8.329,4.292),
  77.           (-9.281,2.390),
  78.           others=>(100.0,100.0)
  79.         )
  80.       )),
  81.       (Codigo=>(others=>'z'),
  82.       Inicio=>(others=>'z'),
  83.       Final=>(others=>'z'),
  84.       Peaje_km=>0.0,
  85.       Trazado=>(
  86.         Num => 5,
  87.         Ptos => (
  88.           (5.372,2.209),
  89.           (6.332,3.425),
  90.           (7.283,3.209),
  91.           (8.329,4.292),
  92.           (9.281,2.390),
  93.           others=>(100.0,100.0)
  94.         )
  95.       )),
  96.       (Codigo=>(others=>'z'),
  97.       Inicio=>(others=>'z'),
  98.       Final=>(others=>'z'),
  99.       Peaje_km=>7.0,
  100.       Trazado=>(
  101.         Num => 5,
  102.         Ptos => (
  103.           (5.372,2.209),
  104.           (6.352,3.425),
  105.           (8.329,3.291),
  106.           (8.329,4.292),
  107.           (9.281,2.390),
  108.           others=>(100.0,100.0)
  109.         )
  110.       )),
  111.       (Codigo=>(others=>'z'),
  112.       Inicio=>(others=>'z'),
  113.       Final=>(others=>'z'),
  114.       Peaje_km=>0.0,
  115.       Trazado=>(
  116.         Num => 5,
  117.         Ptos => (
  118.           (5.372,2.209),
  119.           (6.332,3.425),
  120.           (5.372,2.209),
  121.           (8.329,4.292),
  122.           (9.281,2.390),
  123.           others=>(100.0,100.0)
  124.         )
  125.       )),
  126.       (Codigo=>(others=>'z'),
  127.       Inicio=>(others=>'z'),
  128.       Final=>(others=>'z'),
  129.       Peaje_km=>0.0,
  130.       Trazado=>(
  131.         Num => 5,
  132.         Ptos => (
  133.           (5.372,2.209),
  134.           (6.332,3.425),
  135.           (7.283,3.209),
  136.           (8.329,4.292),
  137.           (9.281,2.390),
  138.           others=>(100.0,100.0)
  139.         )
  140.       )),
  141.       (Codigo=>(others=>'z'),
  142.       Inicio=>(others=>'z'),
  143.       Final=>(others=>'z'),
  144.       Peaje_km=>4.0,
  145.       Trazado=>(
  146.         Num => 5,
  147.         Ptos => (
  148.           (5.372,2.209),
  149.           (6.332,3.425),
  150.           (7.283,3.209),
  151.           (8.329,4.292),
  152.           (9.281,2.390),
  153.           others=>(100.0,100.0)
  154.         )
  155.       )),
  156.       others=>(
  157.         Codigo=>(others=>'z'),
  158.         Inicio=>(others=>'z'),
  159.         Final=>(others=>'z'),
  160.         Peaje_km=>42.0,
  161.         Trazado=>(Num => 0,Ptos => (others=>(100.0,100.0)))
  162.       )
  163.     )
  164.   ),
  165.   (
  166.     Cont=>8,
  167.     Ctras=>(
  168.       (Codigo=>(others=>'z'),
  169.       Inicio=>(others=>'z'),
  170.       Final=>(others=>'z'),
  171.       Peaje_km=>7.0,
  172.       Trazado=>(
  173.         Num => 6,
  174.         Ptos => (
  175.           (5.372,2.209),
  176.           (6.352,3.425),
  177.           (8.329,3.291),
  178.           (8.329,4.292),
  179.           (9.281,2.390),
  180.           (9.281,2.390),
  181.           others=>(100.0,100.0)
  182.         )
  183.       )),
  184.       (Codigo=>(others=>'z'),
  185.       Inicio=>(others=>'z'),
  186.       Final=>(others=>'z'),
  187.       Peaje_km=>0.0,
  188.       Trazado=>(
  189.         Num => 4,
  190.         Ptos => (
  191.           (5.372,2.209),
  192.           (6.332,3.425),
  193.           (8.329,4.292),
  194.           (9.281,2.390),
  195.           others=>(100.0,100.0)
  196.         )
  197.       )),
  198.       (Codigo=>(others=>'z'),
  199.       Inicio=>(others=>'z'),
  200.       Final=>(others=>'z'),
  201.       Peaje_km=>7.0,
  202.       Trazado=>(
  203.         Num => 5,
  204.         Ptos => (
  205.           (5.372,2.209),
  206.           (6.332,3.425),
  207.           (7.283,3.209),
  208.           (8.329,4.292),
  209.           (-9.281,2.390),
  210.           others=>(100.0,100.0)
  211.         )
  212.       )),
  213.       (Codigo=>(others=>'z'),
  214.       Inicio=>(others=>'z'),
  215.       Final=>(others=>'z'),
  216.       Peaje_km=>0.0,
  217.       Trazado=>(
  218.         Num => 5,
  219.         Ptos => (
  220.           (5.372,2.209),
  221.           (6.332,3.425),
  222.           (7.283,3.209),
  223.           (8.329,4.292),
  224.           (9.281,2.390),
  225.           others=>(100.0,100.0)
  226.         )
  227.       )),
  228.       (Codigo=>(others=>'z'),
  229.       Inicio=>(others=>'z'),
  230.       Final=>(others=>'z'),
  231.       Peaje_km=>0.0,
  232.       Trazado=>(
  233.         Num => 5,
  234.         Ptos => (
  235.           (5.372,2.209),
  236.           (6.352,3.425),
  237.           (8.329,3.291),
  238.           (8.329,4.292),
  239.           (9.281,2.390),
  240.           others=>(100.0,100.0)
  241.         )
  242.       )),
  243.       (Codigo=>(others=>'z'),
  244.       Inicio=>(others=>'z'),
  245.       Final=>(others=>'z'),
  246.       Peaje_km=>0.0,
  247.       Trazado=>(
  248.         Num => 5,
  249.         Ptos => (
  250.           (5.372,2.209),
  251.           (6.332,3.425),
  252.           (5.372,2.209),
  253.           (8.329,4.292),
  254.           (9.281,2.390),
  255.           others=>(100.0,100.0)
  256.         )
  257.       )),
  258.       (Codigo=>(others=>'z'),
  259.       Inicio=>(others=>'z'),
  260.       Final=>(others=>'z'),
  261.       Peaje_km=>0.0,
  262.       Trazado=>(
  263.         Num => 5,
  264.         Ptos => (
  265.           (5.372,2.209),
  266.           (6.332,3.425),
  267.           (7.283,3.209),
  268.           (8.329,4.292),
  269.           (9.281,2.390),
  270.           others=>(100.0,100.0)
  271.         )
  272.       )),
  273.       (Codigo=>(others=>'z'),
  274.       Inicio=>(others=>'z'),
  275.       Final=>(others=>'z'),
  276.       Peaje_km=>4.0,
  277.       Trazado=>(
  278.         Num => 5,
  279.         Ptos => (
  280.           (5.372,2.209),
  281.           (6.332,3.425),
  282.           (7.283,3.209),
  283.           (8.329,4.292),
  284.           (9.281,2.390),
  285.           others=>(100.0,100.0)
  286.         )
  287.       )),
  288.       others=>(
  289.         Codigo=>(others=>'z'),
  290.         Inicio=>(others=>'z'),
  291.         Final=>(others=>'z'),
  292.         Peaje_km=>42.0,
  293.         Trazado=>(Num => 0,Ptos => (others=>(100.0,100.0)))
  294.       )
  295.     )
  296.   )
  297. );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement