Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
Favorite Forums
Favorite Tags
java x 23
Member Avatar for sugir1987

here is my code import java.io.BufferedReader; import java.io.File; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.util.*; /** * * @author Sugirthan */ class Node<E> { int ser; public double[] data; public Node(int ser,double[]data) { this.ser=ser; this.data = data; } } public class Tree<E> { Node a; double [][] data = …

Member Avatar for JamesCherrill
0
285
Member Avatar for sugir1987
Member Avatar for NormR1
0
124
Member Avatar for sugir1987

How can i find the Euclidean distance of 2D matrix in java.is it possible like Math.pow(x,2)

Member Avatar for NormR1
0
151
Member Avatar for sugir1987
Member Avatar for sugir1987

here i have code it work well here i have assigned size of the row and column. how can i get the row and column value from text file.[CODE]import java.io.BufferedReader; import java.io.File; import java.io.FileReader; import java.io.IOException; import java.util.StringTokenizer; public class csvimport5 { public static void main(String[] args) throws IOException { …

Member Avatar for NormR1
0
152
Member Avatar for sugir1987

can you help me to clear the error? [CODE]import java.util.*; class Node{ protected Object data; protected static ArrayList child; protected Node next; public Node(){ next = null; data = null; child=new ArrayList(); } public Node(Object d,Node n){ data = d; next = n; n.child=new ArrayList(); } } public class Tree{ …

Member Avatar for NormR1
0
185
Member Avatar for sugir1987

hi all i have to implement arraylist<node> base tree(one parent may have more than two children). i did not work with node can you help me to create the tree

Member Avatar for NormR1
0
168