Skip to content

Add "Verifier" for Dijkstra algorithm #5

@ScottBBarfuss

Description

@ScottBBarfuss

From what I understand looking at the main branch, all existing algorithms in Redux have a dedicated verifier class that implements the IVerifier interface and is discovered automatically by the API through reflection.

We'll need to create a problem class that can be constructed from a string instance, then implement a DijkstraVerifier : IVerifier with a parameterless constructor and a verify(problem, certificate) method. The verifier must live in the problem’s Verifiers folder so the UI can detect it.

The verification logic will parse the certificate and check it against the graph instance. Once this class is added, the framework should automatically expose it through the /ProblemProvider/verify endpoint automatically.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions