Class NetworkDescriptor
java.lang.Object
repast.simphony.dataLoader.ui.wizard.builder.NetworkDescriptor
- All Implemented Interfaces:
Descriptor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRelationship(AgentDescriptor source, AgentDescriptor target, double strength) voidaddRelationship(RelationshipDescriptor descriptor) getName()Retrieves the name of the descriptor.booleanvoidremoveRelationships(AgentDescriptor descriptor) voidsetDirected(boolean directed) voidSets the name of the descriptor.voidsetRelationships(List<RelationshipDescriptor> relationships)
-
Constructor Details
-
NetworkDescriptor
-
NetworkDescriptor
public NetworkDescriptor()
-
-
Method Details
-
isDirected
public boolean isDirected() -
setDirected
public void setDirected(boolean directed) -
getName
Description copied from interface:DescriptorRetrieves the name of the descriptor. This will generally be used for displaying the descriptor in GUIs and in other situations.- Specified by:
getNamein interfaceDescriptor- Returns:
- the name of this descriptor
-
setName
Description copied from interface:DescriptorSets the name of the descriptor. This will generally be used for displaying the descriptor in GUIs and in other situations.- Specified by:
setNamein interfaceDescriptor- Parameters:
name- the name of this descriptor
-
getRelationships
-
setRelationships
-
addRelationship
-
addRelationship
-
removeRelationships
-