Experiment040.java

Package: coupling/
File: Experiment040.java

  1. package coupling;
  2.  
  3. import coupling.interaction.Interaction040;
  4.  
  5. /**
  6.  * An Experiment040 is an Experiment that can be primitive or abstract.
  7.  * An abstract Experiment has an intendedInteraction
  8.  * which is the sensorimotor pattern to try to enact if this experiment is selected.
  9.  */
  10. public class Experiment040 extends Experiment {
  11.  
  12. /**
  13. * The experience's interaction.
  14. */
  15. private Interaction040 intendedInteraction;
  16. private boolean isAbstract = true;
  17.  
  18. public Experiment040(String label){
  19. super(label);
  20. }
  21.  
  22. public boolean isAbstract(){
  23. return this.isAbstract;
  24. }
  25.  
  26. public void resetAbstract(){
  27. this.isAbstract = false;
  28. }
  29.  
  30. public void setIntendedInteraction(Interaction040 intendedInteraction){
  31. this.intendedInteraction = intendedInteraction;
  32. }
  33.  
  34. public Interaction040 getIntendedInteraction(){
  35. return this.intendedInteraction;
  36. }
  37.  
  38. }
  39.  

See public discussions about this page or start a new discussion by clicking on the Google+ Share button. Please type the #IDEALMOOCExperiment040 hashtag in your post: