How can I specify the graph's directionality?

2 vues

Réponse

You can use the 'direction' parameter. Set it to 'DIRECTED' for directed graphs where flow is from a source to a sink node, or 'UNDIRECTED' for undirected graphs where flow can be in either direction.
Cette réponse vous a-t-elle aidé ?
minCostFlow

optNetwork

Voir l'action technique