T
TheTravellingSalesman
I'm still relatively new to Java. I have a data set in which each pair
has a number attached to it.
Say the data set is {a,b,c,d,....z}
Now form this data set, I have bunch of pairs and each pair has a
number attached to it.
e.g. {a,b} = 3
{a,y} = 5
I was wondering how will I code somethign like this in Java
Ideally I would have an array where I would have an input like Array[x]
[y].getValue()
Any ideas.
Thanks.
has a number attached to it.
Say the data set is {a,b,c,d,....z}
Now form this data set, I have bunch of pairs and each pair has a
number attached to it.
e.g. {a,b} = 3
{a,y} = 5
I was wondering how will I code somethign like this in Java
Ideally I would have an array where I would have an input like Array[x]
[y].getValue()
Any ideas.
Thanks.