Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pydtnsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
discus
pydtnsim
Merge requests
!21
pydtn agkmeans and version 1.0
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
pydtn agkmeans and version 1.0
summer2022
into
develop
Overview
0
Commits
60
Pipelines
1
Changes
3
Merged
Hunter McConnell (rtm534)
requested to merge
summer2022
into
develop
2 years ago
Overview
0
Commits
60
Pipelines
1
Changes
3
Expand
Fatemeh's agkmeans, basic gui, prophet Version used for paper
0
0
Merge request reports
Viewing commit
9f002a93
Prev
Next
Show latest version
3 files
+
14
−
159
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
9f002a93
final linting
· 9f002a93
ArktikHunter
authored
2 years ago
pydtnsim/gui.py
+
7
−
6
Options
@@ -9,7 +9,8 @@ import yaml
from
yaml.loader
import
Loader
from
pydtnsim
import
Node
,
EpidemicNode
,
ProphetNode
,
ProphetNodeSingle
from
pydtnsim
import
Node
from
pydtnsim.nodes
import
EpidemicNode
,
ProphetNode
,
ProphetNodeSingle
from
pydtnsim.community
import
BubbleKCliqueNode
,
BubbleLouvainNode
from
pydtnsim.community
import
HCBFKCliqueNode
,
HCBFLouvainNode
from
pydtnsim.community
import
HCBFAGKmeansNode
,
BubbleAGKmeansNode
@@ -396,11 +397,11 @@ class Gui(tk.Tk):
def
submit
(
self
):
"""
Save to config file.
"""
param
=
{}
param
[
"
SimOptions
"
]
=
self
.
sim
O
ptions
.
get_options
()
param
[
"
NodeOptions
"
]
=
self
.
node
O
ptions
.
get_options
()
param
[
"
NodeChoices
"
]
=
self
.
node
C
hoices
.
get_choices
()
param
[
"
TrafficOptions
"
]
=
self
.
traffic
O
ptions
.
get_options
()
param
[
"
GraphingO
get_c
ptions
"
]
=
self
.
graphing
O
ptions
.
get_options
()
param
[
"
SimOptions
"
]
=
self
.
sim
_o
ptions
.
get_options
()
param
[
"
NodeOptions
"
]
=
self
.
node
_o
ptions
.
get_options
()
param
[
"
NodeChoices
"
]
=
self
.
node
_c
hoices
.
get_choices
()
param
[
"
TrafficOptions
"
]
=
self
.
traffic
_o
ptions
.
get_options
()
param
[
"
GraphingOptions
"
]
=
self
.
graphing
_o
ptions
.
get_options
()
self
.
param
=
param
Loading