##Coding
the file SimulateMachine.java in ir.sharif.ce.partov.user is for you to place your code, do not change other .java files. you can add new .java files.
change your directory to here. and then just run make to compile the code. The CF does not have any special dependency and should be compilable on most Linux systems.
change your directory to here put your information into info.h
to prevent any access by other users. Then you can use three other scripts as follows:
- The new.sh for instantiating a new topology,
- The free.sh for releasing the previously assigned topology instance,
- Do not forget to free the instance when your simulation finished (required for log files flushing).
- The run.sh for connecting your program to configured virtual node (if any).
You can read CFManual.pdf for a more complete guide to CF.