Example #1
0
def testHTMLMaps():
    from outrankingDigraphs import BipolarOutrankingDigraph
    from randomPerfTabs import RandomCBPerformanceTableau
    from linearOrders import CopelandOrder
    t1 = Random3ObjectivesPerformanceTableau(numberOfActions=10, seed=1)
    g = BipolarOutrankingDigraph(t1, Normalized=True)
    cop = CopelandOrder(g)
    print(g._htmlRelationMap(cop.copelandRanking))
    print(g._htmlRelationMap(Colored=False))