Adjacency list that shows the vertexNumber of child vertex and the weight of the edge
List < Pair > children ; Node ( int vertexNumber ) { this . vertexNumber = vertexNumber ; children = new ArrayList < > ( ) ; }