cardel

FD.impl

Jun 30th, 2012
608
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. declare
  2.  
  3. proc{Ensayo1 Escenas}
  4.    {Tuple.make solucion 3 Escenas}
  5.    OrdenEscenas={FD.tuple ordenEscenas 4 1#4}
  6.    TurnoEscenas={FD.tuple turnoEscenas 4 1#4}
  7.    Tabla = {Tuple.make tabla 4}
  8.  
  9.    {For 1 4 1 proc{$ P} Tabla.P={FD.tuple {VirtualString.toAtom "actor"#P} 4 0#1} end}
  10. in
  11.    Escenas.1=OrdenEscenas
  12.    Escenas.2=TurnoEscenas
  13.    Escenas.3=Tabla
  14.    {FD.distinct OrdenEscenas}
  15.    {FD.distinct TurnoEscenas}
  16.  
  17.    {For 1 4 1
  18.     proc{$I}
  19.        {For 1 4 1
  20.         proc{$ J}
  21.            {FD.impl {FD.reified.int J OrdenEscenas.I} {FD.reified.int I TurnoEscenas.J} Tabla.I.J}
  22.         end}
  23.     end}
  24.  
  25.    {For 1 4 1 proc{$ I} {FD.distribute ff Tabla.I} end}
  26.    {FD.distribute split Escenas.2}
  27.  
  28. end
  29.  
  30. {ExploreOne Ensayo1}
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×