- teorias{0} init named "t1" with-action "avanza".
- (teorias{0}) set-dato-inicial name "sensor" value 0.
- (teorias{0}) set-dato-inicial name "movido" value -3000000.
- (teorias{0}) set-dato-final name "sensor" value -3000000.
- (teorias{0}) set-dato-final name "movido" value 1.
-
- teorias{1} init named "t2" with-action "retrocede".
- (teorias{1}) set-dato-inicial name "sensor" value 1.
- (teorias{1}) set-dato-inicial name "movido" value -3000000.
- (teorias{1}) set-dato-final name "sensor" value -3000000.
- (teorias{1}) set-dato-final name "movido" value 1.
-
- print "Agrega teorías al sistema autónomo".
+ teorias{0} init named "avanzar X 1" with-action "avanzarX".
+
+ print "Carga datos iniciales Teoria 1".
+ (teorias{0}) set-dato-inicial name "sensor1" value ANY.
+ (teorias{0}) set-dato-inicial name "sensor2" value ANY.
+ (teorias{0}) set-dato-inicial name "sensor3" value ANY.
+ (teorias{0}) set-dato-inicial name "sensor4" value ANY.
+ (teorias{0}) set-dato-inicial name "movido" value ANY.
+
+ print "Carga datos finales Teoria 1".
+ (teorias{0}) set-dato-final name "sensor1" value ANY.
+ (teorias{0}) set-dato-final name "sensor2" value ANY.
+ (teorias{0}) set-dato-final name "sensor3" value ANY.
+ (teorias{0}) set-dato-final name "sensor4" value ANY.
+ (teorias{0}) set-dato-final name "movido" value ANY.
+
+ print "Crea Teoria 2".
+ teorias{1} init named "avanzar X 2" with-action "avanzarX".
+
+ print "Carga datos iniciales Teoria 2".
+ (teorias{1}) set-dato-inicial name "sensor1" value ANY.
+ (teorias{1}) set-dato-inicial name "sensor2" value ANY.
+ (teorias{1}) set-dato-inicial name "sensor3" value ANY.
+ (teorias{1}) set-dato-inicial name "sensor4" value ANY.
+ (teorias{1}) set-dato-inicial name "movido" value ANY.
+
+ print "Carga datos finales Teoria 1".
+ (teorias{1}) set-dato-final name "sensor1" value ANY.
+ (teorias{1}) set-dato-final name "sensor2" value ANY.
+ (teorias{1}) set-dato-final name "sensor3" value ANY.
+ (teorias{1}) set-dato-final name "sensor4" value ANY.
+ (teorias{1}) set-dato-final name "movido" value ANY.
+
+ print "Agrega teorias al sistema autonomo".