Class NetworkDescriptor

java.lang.Object
repast.simphony.dataLoader.ui.wizard.builder.NetworkDescriptor
All Implemented Interfaces:
Descriptor

public class NetworkDescriptor extends Object implements Descriptor
  • Constructor Details

    • NetworkDescriptor

      public NetworkDescriptor(String name)
    • NetworkDescriptor

      public NetworkDescriptor()
  • Method Details

    • isDirected

      public boolean isDirected()
    • setDirected

      public void setDirected(boolean directed)
    • getName

      public String getName()
      Description copied from interface: Descriptor
      Retrieves the name of the descriptor. This will generally be used for displaying the descriptor in GUIs and in other situations.
      Specified by:
      getName in interface Descriptor
      Returns:
      the name of this descriptor
    • setName

      public void setName(String name)
      Description copied from interface: Descriptor
      Sets the name of the descriptor. This will generally be used for displaying the descriptor in GUIs and in other situations.
      Specified by:
      setName in interface Descriptor
      Parameters:
      name - the name of this descriptor
    • getRelationships

      public List<RelationshipDescriptor> getRelationships()
    • setRelationships

      public void setRelationships(List<RelationshipDescriptor> relationships)
    • addRelationship

      public void addRelationship(AgentDescriptor source, AgentDescriptor target, double strength)
    • addRelationship

      public void addRelationship(RelationshipDescriptor descriptor)
    • removeRelationships

      public void removeRelationships(AgentDescriptor descriptor)