Class NetworkDescriptor
java.lang.Object
repast.simphony.dataLoader.ui.wizard.builder.NetworkDescriptor
- All Implemented Interfaces:
Descriptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addRelationship
(AgentDescriptor source, AgentDescriptor target, double strength) void
addRelationship
(RelationshipDescriptor descriptor) getName()
Retrieves the name of the descriptor.boolean
void
removeRelationships
(AgentDescriptor descriptor) void
setDirected
(boolean directed) void
Sets the name of the descriptor.void
setRelationships
(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: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 interfaceDescriptor
- Returns:
- the name of this descriptor
-
setName
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 interfaceDescriptor
- Parameters:
name
- the name of this descriptor
-
getRelationships
-
setRelationships
-
addRelationship
-
addRelationship
-
removeRelationships
-