hi guuys, have this assignment and the idea is to read in a file of the following format:
Film / Actor / Actor / Actor / Actor
Film / Actor / Actor
etc.
i then have to save this data in some way so that i can perform six degrees of separation test to kevin bacon. so the user will input the name of an actor or actress and it will tell you how many steps and who it links to kevin bacon.
now i understand in concept. and think the best idea is to use a shortest route algorithm on a graphing structure. but i have no idea how to get from the text file into a format i can do that on.
Slave, assistant, companion? I think that line will blur a lot as robotics become more human like that, it wouldn't surprise me if a lot of us see them as a friend or even more.
It's all about flexibility, we've designed a world around humans, so having robots that can work in human like environments with the same flexibility we have, offers a lot of advantages in many areas.
With that said, for specific tasks, there are better ways than human like robots, but it really depends on what task you want to do.
Also, we should remember, even thought we can build human like robots, they can be built so they are stronger, faster and cheaper than we can work, so even thought that likely not as fast or as cheap as automation, it's certainly a lot more flexible and far cheaper than humans.
Question
El Marto
hi guuys, have this assignment and the idea is to read in a file of the following format:
Film / Actor / Actor / Actor / Actor
Film / Actor / Actor
etc.
i then have to save this data in some way so that i can perform six degrees of separation test to kevin bacon. so the user will input the name of an actor or actress and it will tell you how many steps and who it links to kevin bacon.
now i understand in concept. and think the best idea is to use a shortest route algorithm on a graphing structure. but i have no idea how to get from the text file into a format i can do that on.
any help would be much appreciated.
Martin
Link to comment
https://www.neowin.net/forum/topic/840038-java-need-some-help-please/Share on other sites
5 answers to this question
Recommended Posts