-
Notifications
You must be signed in to change notification settings - Fork 6
Home
Welcome to the GraphOffline developer wiki!
There some developer information about classes/architecture.
Base data class is IGraph. You can get all infromation about graph using IGraph . If you need to get weight of edges, you will need to cast it to IGraphInt or IGraphFloat or IMultiGraphInt or IMultiGraphFloat depends on the situation. If you want support multigraph you need to use IMultiGraph. IMultiGraph contains additional methods to use edges of multigraph.
To create new algorithm you need to implement IAlgorithm. This interface contains two parts:
- IAlgorithmEngine - provide information about parameters and calculate result.
- IAlgorithmResult - is used by IReporter to generate report.
To add new algoritm you also need update IAlgorithmFactory to add your algorithm to _CreateAlgorithm private method.
Here is detail information about base interfaces:
- IGraph
- IAlgorithm
- IReporter
- IEnumStrategy
- IGraphInt
- IGraphFloat
- IMultiGraph
- IMultiGraphInt
- IMultiGraphFloat
- IAlgorithmFactory
Write Issues to us, if you have questions.