BEST ✨ Call Girls In Indirapuram Ghaziabad ✔️ 9871031762 ✔️ Escorts Service...
Trabajo
1. frame persona ;
default sexo is m
and default edad is adulto
and default quienes is nose .
frame empleado is a persona ;
default tipoindustria is formal
and default seguro is si .
frame docente is a empleado ;
default porcontrato is no
and default prima_vacaciones is si .
frame ingeniero is a empleado ;
default porcontrato is si
and default primavacaciones is no .
frame vendedorambulante is a independiente ;
default ingesomensual is 300
and default cantidaddeproveedores is 1 .
frame tendero is a independiente ;
default ingesomensual is 1000
and default cantidaddeprovedores is 10 .
frame tenderobarrio is a tendero ;
default formadeventa is ventasinautoservicio
and default niveldeseguridad is bajo .
frame tenderominimarket is a tendero ;
default formadeventa is ventaconautoservicio
and default niveldeseguridad is alto .
frame docente_base is a docente ;
default sobresueldo is no
and default funcion is academico .
frame directivodocente is a docente ;
default sobresueldo is si
and default funcion is administrativa .
frame coordinador is a directivodocente ;
default ambito is sede
and default area is disciplina .
2. frame rector is a directivodocente ;
default ambito is institucion
and default area is ninguna .
question m1
tipo de industria? ;
choose one of formal, informal .
question m2
es porcontrato? ;
choose one of si, no .
question m3
posee sobresueldo? ;
choose one of si, no .
question m4
cual es su ambito? ;
choose one of sede, institucion .
question m5
cual es la cantidaddeproveedores? ;
choose one of 1, 10 .
question m6
cual es su formadeventa? ;
choose one of sinautoservicio, conautoservicio .
rule r1
if the m1 is formal
and the m2 is si
then the persona`s quienes becomes ingeniero .
rule r2
if the m1 is formal
and the m2 is no
and the m3 is si
and the m4 is sede
then the persona`s quienes becomes coordinador .
rule r3
if the m1 is formal
3. and the m2 is no
and the m3 is si
and the m4 is institucion
then the persona`s quienes becomes rector .
rule r4
if the m1 is formal
and the m2 is no
and the m3 is no
then the persona`s quienes becomes docente_base .
rule r5
if the m1 is informal
and the m5 is 1
then the persona`s quienes becomes vendedorambulante .
rule r6
if the m1 is informal
and the m5 is 10
and the m6 is conautoservicio
then the persona`s quienes becomes tenderominimarket .
rule r7
if the m1 is informal
and the m5 is 10
and the m6 is sinautoservicio
then the persona`s quienes becomes tenderobarrio .
group g1
r1, r2, r3, r4, r5, r6, r7 .
ruleset ru1
contains g1 ;
update ruleset by removing each selected rule .
action practica ;
do restart
and invoke ruleset ru1
and echo ('la persona que busca es:', persona`s quienes) .