User Profile

Collapse

Profile Sidebar

Collapse
java0606
java0606
Last Activity: Jul 23 '08, 09:02 PM
Joined: Jul 21 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • java0606
    replied to vertex adjacencies
    in Java
    in debugging mode i saw [0] under adjecencies of v1
    [0] has neighbour v3 and weight 103.0

    how can i make [1] and [2]..... for other adjecencies of v1(for ex. first line and second line of code )
    this code is only working for the last line and it is [0]
    after first line it becomes [0]
    after second line [0] changes
    at the last line [0] has v3 neighbour 103.0 weight
    i wanna this:
    v1.adjacencies...
    See more | Go to post

    Leave a comment:


  • java0606
    replied to vertex adjacencies
    in Java
    how can i do addEdge method in Vertex class,U can help me??...
    See more | Go to post

    Leave a comment:


  • java0606
    started a topic vertex adjacencies
    in Java

    vertex adjacencies

    hi! i need ur help..
    i want to seperate this code to 3 parts:

    v1.adjacencies = new Edge[]{ new Edge(v0, 79.75),
    new Edge(v2, 39.42),
    new Edge(v3, 103.00) };

    i tried this:
    v1.adjacencies = new Edge[]{ new Edge(v0, 79.75)};
    v1.adjacencies = new Edge[]{ new Edge(v2, 39.42)};
    v1.adjacencies = new Edge[]{ new Edge(v3,...
    See more | Go to post
No activity results to display
Show More
Working...