// ReverseIterateAdjacencyNodes reverse for/range on all adjacency nodes of current node,
// call IterateAction for each iterated node
ReverseIterateAdjacencyNodes reverse for/range on all adjacency nodes of current node,
call IterateAction for each iterated node
// ReverseIterateAdjacencyNodes reverse for / range on all adjacency nodes of current node // call IterateAction for each iterated node
func (g adjacencyMatrixGraph) ReverseIterateAdjacencyNodes(currNode NodeID, action IterateAction) {
	if !g.IsNodeValid(currNode) {
		return
	}
	adjRow := g.adjMatrix[currNode]
	for i := len(adjRow) - 1; i >= 0; i-- {
		if adjRow[i] {
			action(NodeID(i))
		}
	}
}
func ( g adjacencyMatrixGraph ) ReverseIterateAdjacencyNodes ( currNode NodeID , action IterateAction ) { if ! g . IsNodeValid ( currNode ) { return } adjRow := g . adjMatrix [ currNode ] for i := len ( adjRow ) - 1 ; i >= 0 ; i -- { if adjRow [ i ] { action ( NodeID ( i ) ) } } }
ReverseIterateAdjacencyNodes reverse for/range on all adjacency nodes of current node,
call IterateAction for each iterated node
ReverseIterateAdjacencyNodes reverse for / range on all adjacency nodes of current node call IterateAction for each iterated node