equal
deleted
inserted
replaced
365 # 3/ analyze cardinality of relation |
365 # 3/ analyze cardinality of relation |
366 # a/ if relation is mandatory, insert one relation |
366 # a/ if relation is mandatory, insert one relation |
367 # b/ else insert N relations where N is the mininum |
367 # b/ else insert N relations where N is the mininum |
368 # of 20 and the number of existing targetable entities |
368 # of 20 and the number of existing targetable entities |
369 for rschema in rels: |
369 for rschema in rels: |
370 print rschema |
|
371 sym = set() |
370 sym = set() |
372 sedict = deepcopy(edict) |
371 sedict = deepcopy(edict) |
373 oedict = deepcopy(edict) |
372 oedict = deepcopy(edict) |
374 delayed = [] |
373 delayed = [] |
375 # for each couple (subjschema, objschema), insert relations |
374 # for each couple (subjschema, objschema), insert relations |