Hi,
This task is very new for me. Ok, here is what I have to do:
1) The user will input a square matrix in a text file.
2)
Java program (
in fact servlet) will read this text file and will validate whether the input matrix is square or not? If yes then continue; else error screen.
3) After successfull validation, it will create a graph based on the values of matrix.
4) The created (generated) graph (image) will be displayed as an output to the user on his browser.
The business logic here is the
method of creating graph based on matrix values. This method I know well on paper-pencil. But implementing the same in Java code and generating the graph is bit new. The later part, i.e. generating the graph is in fact the actual task.
I've developed an explained example with matrix (
input) and the generated graph (
output)
here.
In the graph, you will see objects are linked with each other via arrows. This linking is decided on the matrix values. Most probably, I will be having images of objets saved in my haardisk. Only Linking them @ runtime have to be done.
Looking forward for the guideline to start implementing the task.
Thanks,
Bye,
Viki.
[ March 14, 2006: Message edited by: Bear Bibeault ]