CSD 3939 Home Page The Prior Page The Next Page
Middlesex Logo

Lab 9: Semantic Nets

  1. Open up a new project and make a new class with a main function.
  2. Make a semantic net graph with just the five profs. You can do this with an array of strings.
  3. Make sure they are connected by arcs. Here you can have an array of arcs with the arc-name and the two nodes it connects.
  4. Using the net, print out all the classes that AI Prof Is
  5. Add the five features for the net.
  6. Print out all the features AI Prof has.
  7. Add the Chris and Frank Instance.
  8. Print out all of Frank's features.
  9. Detect the inheritence conflict.
  10. Write an algorithm to detect a generic inheritence conflict.