Skip to content

Commit d856ca7

Browse files
committed
Add - Implementation Dijkstra in Java - Final
1 parent 0878bc6 commit d856ca7

File tree

12 files changed

+1026
-2
lines changed

12 files changed

+1026
-2
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
/Implementation/DijkstraAlgorithm/nbproject/private/
1+
/Implementation/DijkstraAlgorithm/nbproject/private/
2+
/Implementation/DijkstraAlgorithm/build/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
1
2+
5
3+
0 1 5
4+
0 2 10
5+
1 2 3
6+
1 3 2
7+
1 4 9
8+
2 1 2
9+
2 4 1
10+
3 0 7
11+
3 4 6
12+
4 3 4

Implementation/DijkstraAlgorithm/nbproject/project.properties

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ javadoc.splitindex=true
5454
javadoc.use=true
5555
javadoc.version=false
5656
javadoc.windowtitle=
57-
main.class=
57+
main.class=iu.Principal
5858
manifest.file=manifest.mf
5959
meta.inf.dir=${src.dir}/META-INF
6060
mkdist.disabled=false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
<?xml version="1.0" encoding="UTF-8" ?>
2+
3+
<Form version="1.3" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
4+
<AuxValues>
5+
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
6+
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
7+
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/>
8+
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
9+
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
10+
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/>
11+
<AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
12+
<AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
13+
<AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
14+
</AuxValues>
15+
16+
<Layout>
17+
<DimensionLayout dim="0">
18+
<Group type="103" groupAlignment="0" attributes="0">
19+
<Group type="102" attributes="0">
20+
<Group type="103" groupAlignment="0" attributes="0">
21+
<Group type="102" attributes="0">
22+
<EmptySpace min="-2" pref="21" max="-2" attributes="0"/>
23+
<Group type="103" groupAlignment="0" attributes="0">
24+
<Group type="102" attributes="0">
25+
<Component id="jLabel1" min="-2" max="-2" attributes="0"/>
26+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
27+
<Component id="jTextFieldVerticeInicial" min="-2" pref="118" max="-2" attributes="0"/>
28+
<EmptySpace type="separate" max="-2" attributes="0"/>
29+
<Component id="jButtonExecutar" min="-2" max="-2" attributes="0"/>
30+
<EmptySpace type="unrelated" max="-2" attributes="0"/>
31+
<Component id="jButtonCancelar" min="-2" max="-2" attributes="0"/>
32+
</Group>
33+
<Component id="jPanel1" min="-2" max="-2" attributes="0"/>
34+
</Group>
35+
</Group>
36+
<Group type="102" alignment="0" attributes="0">
37+
<EmptySpace min="-2" pref="249" max="-2" attributes="0"/>
38+
<Component id="jButtonSair" min="-2" max="-2" attributes="0"/>
39+
</Group>
40+
</Group>
41+
<EmptySpace pref="19" max="32767" attributes="0"/>
42+
</Group>
43+
</Group>
44+
</DimensionLayout>
45+
<DimensionLayout dim="1">
46+
<Group type="103" groupAlignment="0" attributes="0">
47+
<Group type="102" alignment="1" attributes="0">
48+
<EmptySpace min="-2" pref="16" max="-2" attributes="0"/>
49+
<Group type="103" groupAlignment="3" attributes="0">
50+
<Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
51+
<Component id="jTextFieldVerticeInicial" alignment="3" min="-2" max="-2" attributes="0"/>
52+
<Component id="jButtonExecutar" alignment="3" min="-2" max="-2" attributes="0"/>
53+
<Component id="jButtonCancelar" alignment="3" min="-2" max="-2" attributes="0"/>
54+
</Group>
55+
<EmptySpace max="-2" attributes="0"/>
56+
<Component id="jPanel1" min="-2" max="-2" attributes="0"/>
57+
<EmptySpace max="-2" attributes="0"/>
58+
<Component id="jButtonSair" min="-2" max="-2" attributes="0"/>
59+
<EmptySpace max="32767" attributes="0"/>
60+
</Group>
61+
</Group>
62+
</DimensionLayout>
63+
</Layout>
64+
<SubComponents>
65+
<Component class="javax.swing.JTextField" name="jTextFieldVerticeInicial">
66+
<Events>
67+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jTextFieldVerticeInicialActionPerformed"/>
68+
<EventHandler event="keyReleased" listener="java.awt.event.KeyListener" parameters="java.awt.event.KeyEvent" handler="jTextFieldVerticeInicialKeyReleased"/>
69+
</Events>
70+
</Component>
71+
<Component class="javax.swing.JLabel" name="jLabel1">
72+
<Properties>
73+
<Property name="text" type="java.lang.String" value="V&#xe9;rtice inicial"/>
74+
</Properties>
75+
</Component>
76+
<Container class="javax.swing.JPanel" name="jPanel1">
77+
<Properties>
78+
<Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
79+
<Border info="org.netbeans.modules.form.compat2.border.TitledBorderInfo">
80+
<TitledBorder title="Resultado"/>
81+
</Border>
82+
</Property>
83+
</Properties>
84+
85+
<Layout>
86+
<DimensionLayout dim="0">
87+
<Group type="103" groupAlignment="0" attributes="0">
88+
<Group type="102" attributes="0">
89+
<EmptySpace max="-2" attributes="0"/>
90+
<Component id="jScrollPane1" pref="476" max="32767" attributes="0"/>
91+
<EmptySpace max="-2" attributes="0"/>
92+
</Group>
93+
</Group>
94+
</DimensionLayout>
95+
<DimensionLayout dim="1">
96+
<Group type="103" groupAlignment="0" attributes="0">
97+
<Component id="jScrollPane1" min="-2" pref="140" max="-2" attributes="0"/>
98+
</Group>
99+
</DimensionLayout>
100+
</Layout>
101+
<SubComponents>
102+
<Container class="javax.swing.JScrollPane" name="jScrollPane1">
103+
<AuxValues>
104+
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/>
105+
</AuxValues>
106+
107+
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
108+
<SubComponents>
109+
<Component class="javax.swing.JTable" name="jTableResultado">
110+
<Properties>
111+
<Property name="model" type="javax.swing.table.TableModel" editor="org.netbeans.modules.form.editors2.TableModelEditor">
112+
<Table columnCount="4" rowCount="0">
113+
<Column editable="false" title="V&#xe9;rtice" type="java.lang.Integer"/>
114+
<Column editable="false" title="Antecessor" type="java.lang.String"/>
115+
<Column editable="false" title="Dist&#xe2;ncia" type="java.lang.Integer"/>
116+
<Column editable="false" title="Caminho" type="java.lang.String"/>
117+
</Table>
118+
</Property>
119+
</Properties>
120+
</Component>
121+
</SubComponents>
122+
</Container>
123+
</SubComponents>
124+
</Container>
125+
<Component class="javax.swing.JButton" name="jButtonSair">
126+
<Properties>
127+
<Property name="text" type="java.lang.String" value="Limpar"/>
128+
</Properties>
129+
<Events>
130+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonSairActionPerformed"/>
131+
</Events>
132+
</Component>
133+
<Component class="javax.swing.JButton" name="jButtonCancelar">
134+
<Properties>
135+
<Property name="text" type="java.lang.String" value="Cancelar"/>
136+
</Properties>
137+
<Events>
138+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonCancelarActionPerformed"/>
139+
</Events>
140+
</Component>
141+
<Component class="javax.swing.JButton" name="jButtonExecutar">
142+
<Properties>
143+
<Property name="text" type="java.lang.String" value="Executar"/>
144+
</Properties>
145+
<Events>
146+
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButtonExecutarActionPerformed"/>
147+
</Events>
148+
</Component>
149+
</SubComponents>
150+
</Form>

0 commit comments

Comments
 (0)