Skip to content

Add a check for the symbols used in ColoringProblem and ConstantColoringAlgorithm #301

@amontoison

Description

@amontoison

I didn't know that the order of the symbols were different for ColoringProblem and ConstantColoringAlgorithm.
I was able to create problem and algo but it took me a few minutes why the dispatch was not working for compress.

problem = ColoringProblem{:nonsymmetric,:column}()
algo = ConstantColoringAlgorithm{:column,:nonsymmetric}(B, color)
result = coloring(B, problem, algo)
C = compress(B, result)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions