From 87bce559f2c5926e7d637f5cbc7975563b2c8cdc Mon Sep 17 00:00:00 2001 From: MadhaviDewalkar <117594468+MadhaviDewalkar@users.noreply.github.com> Date: Sun, 30 Apr 2023 22:24:57 +0530 Subject: [PATCH 1/4] Add files via upload --- bufferproject-java/bin/Final/Sitch.class | Bin 0 -> 1886 bytes bufferproject-java/bin/garrage/dijkstra.class | Bin 0 -> 5861 bytes bufferproject-java/bin/module-info.class | Bin 0 -> 146 bytes .../bin/weightedgraph/Maingraph.class | Bin 0 -> 4753 bytes .../bin/weightedgraph/firstgraph$Edge.class | Bin 0 -> 1066 bytes .../bin/weightedgraph/firstgraph$Node.class | Bin 0 -> 866 bytes .../bin/weightedgraph/firstgraph.class | Bin 0 -> 1866 bytes bufferproject-java/src/Final/Sitch.class | Bin 0 -> 1886 bytes bufferproject-java/src/Final/Sitch.java | 52 +++++ bufferproject-java/src/garrage/dijkstra.class | Bin 0 -> 5861 bytes bufferproject-java/src/garrage/dijkstra.java | 182 +++++++++++++++++ bufferproject-java/src/module-info.class | Bin 0 -> 146 bytes bufferproject-java/src/module-info.java | 9 + .../src/weightedgraph/Maingraph.class | Bin 0 -> 4753 bytes .../src/weightedgraph/Maingraph.java | 192 ++++++++++++++++++ .../src/weightedgraph/firstgraph$Edge.class | Bin 0 -> 1066 bytes .../src/weightedgraph/firstgraph$Node.class | Bin 0 -> 866 bytes .../src/weightedgraph/firstgraph.class | Bin 0 -> 1866 bytes .../src/weightedgraph/firstgraph.java | 88 ++++++++ 19 files changed, 523 insertions(+) create mode 100644 bufferproject-java/bin/Final/Sitch.class create mode 100644 bufferproject-java/bin/garrage/dijkstra.class create mode 100644 bufferproject-java/bin/module-info.class create mode 100644 bufferproject-java/bin/weightedgraph/Maingraph.class create mode 100644 bufferproject-java/bin/weightedgraph/firstgraph$Edge.class create mode 100644 bufferproject-java/bin/weightedgraph/firstgraph$Node.class create mode 100644 bufferproject-java/bin/weightedgraph/firstgraph.class create mode 100644 bufferproject-java/src/Final/Sitch.class create mode 100644 bufferproject-java/src/Final/Sitch.java create mode 100644 bufferproject-java/src/garrage/dijkstra.class create mode 100644 bufferproject-java/src/garrage/dijkstra.java create mode 100644 bufferproject-java/src/module-info.class create mode 100644 bufferproject-java/src/module-info.java create mode 100644 bufferproject-java/src/weightedgraph/Maingraph.class create mode 100644 bufferproject-java/src/weightedgraph/Maingraph.java create mode 100644 bufferproject-java/src/weightedgraph/firstgraph$Edge.class create mode 100644 bufferproject-java/src/weightedgraph/firstgraph$Node.class create mode 100644 bufferproject-java/src/weightedgraph/firstgraph.class create mode 100644 bufferproject-java/src/weightedgraph/firstgraph.java diff --git a/bufferproject-java/bin/Final/Sitch.class b/bufferproject-java/bin/Final/Sitch.class new file mode 100644 index 0000000000000000000000000000000000000000..81812ce766593b2dc3c3d8f3a00c5a71bd577cc6 GIT binary patch literal 1886 zcmZ`(-BTM?6#rca?6NFh;j>ceg4QM!5}~!W(hvD2O-LevV2WRtuuYaGyXj^ZicdcJ z;Ea#X=!{Q}%yh;F=@>?tamKffZ~CTxi(@@^6KGm6ncaKuxo6ME@BGgB{oh}H1#k{D&D{)!pL$7>E~vXgzvFg89{~{qxHY_`Pgh?d0tyhXe-mp zNi8|O5{<+cwNxUuwi-#qQ+3J;E@NE67}d#3mx8Xdt|EjmgH#d@3nH~z;2s5Pbq=Ow zOb{f>yy@t+wr9DvCP*O?zM|qP-V!X)A5jWDf#B(ah@9V6(S&9RH>fZ#6KTdZ3R}7@ zg9c6U^~i)kViFO_t2i(&k%Fi&}|8J?0c%fN<(rFj(#B3{|C zs@cg{Vi;0p^OjZCtGQ)e+ty7-D-a(Y!!l*uWe6%0p&7ojmFK218H!p?-gdW?E1@X2 zcXX5IxUF0bt#fZDf;pogk8KIYi%sN>3>6Ph zAi4g~<%M!2XIi#C%gfaKXY%fz45H-V>e6&Pnn|o_3yBqNEhU(qSXO1O$57u_>e?!@1c1j056aLpD!J5t=e7hi4xw^O84wB$ODG6tO+4FBoD%Dc+zA z3I1Z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info.class new file mode 100644 index 0000000000000000000000000000000000000000..643845b9c529ff26027dc41535ef7e0b8d0ddb27 GIT binary patch literal 146 zcmX^0Z`VEs1_oOOE_MbcMh5QO{FKt1RNc(Hw0uSeuHgLAqU2P!%$!t41_2}~y{yEt zL`DWSU$AOn26jdU_VmP}qQvx6VFpe{22PN?UQ%LlY6AlUBhY*ZU}9hfGME@x7+8U{ Q7y}zvn2~{_0nC690K2CgX8-^I literal 0 HcmV?d00001 diff --git a/bufferproject-java/bin/weightedgraph/Maingraph.class b/bufferproject-java/bin/weightedgraph/Maingraph.class new file mode 100644 index 0000000000000000000000000000000000000000..de7f9486e79e51419f5714df61ee730746c114d6 GIT binary patch literal 4753 zcmd^?+jkq)6~@0amNXNg2F1A%pov05BH0NdKti!YLTt;4Y{habhK6Ev!wJ9lm>-Dw&LH~l%)rUTH_1i}yX=En^`kDu6&Sjsy z_c`@TWLN9DWFn*xU$WQibj_}p)A{)& zXTei2nhOfMbGl>ItJczm1-o8%++l^tnQFc2omJ>dre+mFqm7aiMIY{p!GvYvLkhdL zjoX2{vCBlfCs<*<={d_W^kX+8R_h9TTM?^`bhf^->J>cKv6qLVh+(gI-=}a-@}?%K z*&SeK3}HkR?#@-~&eZDiyyMQ;^EF4IKi62WYqPdnmAc;;@+#G)!hzf^7Kf7!PjPnV zO&p^0UaQ5b+w}ArMsW~#MezWRnD|J0@_IG1b*H)eUqQbspHr1L& z&}`U3l2#-3TB%~!#p^%}gE-DMyHt`y6q5e*d&UJ^amDy%hf}i_9^#r#pS19>JRh;} zh&&&)@R&Rwvv69Tr!0I_o~JDg$@6gudnQKR@C8fQOsUMU1Gfq5Pjon&nlyKK9D`OkhOrWMy_Cr7YQ9uTX43i8P!vVXnYcor zG#6BNz<&&%z_XmdiiE5Q1HrZKyiZ}^xfnhLn~P9)KFxIZB!eRIEiDk-=~lMh`idhd zuQyiR#F|s7F4Q_H&*&VzYmF1vDvncgT%Gy2Ze65(yE!?N9#17qPy}(VqidI)bg8;@ zwduKb6eSUU36&VCSmH9WMS>BkeIRF1K4o zT9)k8F2zdwWQ;97&6Xvz(w1};p^b7kbw3|v))uM4ICfb!1=Bmzl?+ypv4`nA8`tB7ml*@Fm_`IdoYH* z$YUR_;2xAIV2^@*fkJ(mmakB#Z*b4w#3B5Ve*R8E{=u{CT^zxG@Sr-(lWPLUl*hB_ zHKf#EF`)j9LE{jP8y9fIxQLU+6i#Ub5-pkg2w3dTU>u4zCNAJ2;ZewTu!#6rcZB@+{5VvFPqmfEghM74$wZkdfA&K}AiFk!XyhqDU%DDjJ9aVUHs+&6gq!~tIC%iVk9 zL3#%^IQvcB8sFmW@OQlZy^R6f;EnDbo!Qw|BtJ98)HgZ#dOEFhG&u4o_lz3veusI_ XTxKam4>9f^4Sr!M?jQ2m^!)z-oqom8 literal 0 HcmV?d00001 diff --git a/bufferproject-java/bin/weightedgraph/firstgraph$Edge.class b/bufferproject-java/bin/weightedgraph/firstgraph$Edge.class new file mode 100644 index 0000000000000000000000000000000000000000..0e8d3ad8a077333c1cb8823b80c4267567d2e378 GIT binary patch literal 1066 zcmah{+int36kTVy6&wYrMT*wiiWa69ye1~rM$>2{A^2c}FTMcIgYoDLLzW)I56gxRs3M(JAHyTHJI11eN>52l6lnR1EPq@5q>=&f0Z z=});bj2uwIwMO$CKE#GGc0F0MSQ%knc;lZ01O3vIsf(w3-;r%A*zM_52m2E@40V`8 zL!p|qYpNLkmCduhldOcu*erB)7`^ht2y4_e#s8RwB{I{qL}X(rF;FVWVhn;);Ue*u zcnb_3s5zT66rFFl>}<_&#o3;r;w+_SsD3duYCJ2f4BTV2`^W%$37 zE1&;K-u-X#I&QI?B=516%$F7Bl~a}l6Me?{pPLGm81;u)*61o~*G)l@3E?0ft6&6}CGfBydZ4d4|94lIG*7pdk8Ezjm@_-PS*P-&*~v_DSH zqyt-^c^-ZagD8yW!TagCoN0k_6i#I%&>F4Zj&-Wy`2iovi=K!?a?M8 zA{>>yUSUduAyM`bxvLOpxNxw=I8w13UwoX(^dy`{(l95pFq(v^GWVir8#aNxja<1Y z5^iNu7mW7cbU2~Vmnv5JP#_p=L?2vtJDeDqcU@FbtD%G)7ai;h&`17q&qWy(66$2N z9|3PLygo;ucAQ+KGx8%c(^gFD5n6ZRP4p8s@-uKyF; zzRjWjvn6`#$t}tUQB|s{6Wd1j3WIma;N|8m&fdd*!En`T@7tx=mDSzyQ#c(zuhDGG@Z`QMNaViXwX?8Opzc z8JJAS4DiMbzp2A;R#I#wjQh|BX?MSG_nh-xR{H1P-~RycIhq<$0#|>OwsjQ9p5>W? zquQbE`9V0Gz}#5H zuIV39iH;JA(-4?1Ad8$*YP+&EJnl&ETeIU(-TYp^YdQy}XRCE=%mha^foHo`qk5p>mcWfS7F9?7pkx5sHlB(CZ%yq=G&#U{p>4(PZ;0N7NL#pdU?&?ZE7Q&oac9 zNN@LtURUne>YB}rza|eAy+EPqy3*TnOy8HjhV3^sOq8HZJVbQ)mh^*tsjjk*TfF0G ze#)p-U388bS1C+!#jg=`zVozv$z6iutZ{;ZafZ^16U_dGxnIKFSNJZ4I5}i^c7{mr z&{l}f;9V?mC9sIA#Eux2Lfjgy3O8%~in*UTNkM@rA;6skNOlBr4cA8?%OS{fu2bri zu@Xy4hbVezz0Xi8A<{y$D@IZ*QOGxVHj=6=Q=z2yaFe47-C{@?j*Dj~zc5x$aJ!|% zt~@x!`)Pc4IRiV)*)HRK7E&6~(Gle$R7Psxh1u)vsreHNvKWjv>VZ?J}TC~qSo z8Of{TaV)Qn24^a(b*%GGm*#l`8x)!$LJ3be%i;_AOGv%OvWD_&T<4oRH)&0=WwtoZ VbM_U3+Tl~?^OVmn?YYoi{txbStJ?qo literal 0 HcmV?d00001 diff --git a/bufferproject-java/src/Final/Sitch.class b/bufferproject-java/src/Final/Sitch.class new file mode 100644 index 0000000000000000000000000000000000000000..81812ce766593b2dc3c3d8f3a00c5a71bd577cc6 GIT binary patch literal 1886 zcmZ`(-BTM?6#rca?6NFh;j>ceg4QM!5}~!W(hvD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p0}A{FDmp?Zi= zQbk{44N=BNJfvq`iK{LIl+B?R)AGDvXV{Ix19&9( zg$y1W_QYwnHe25o7UFj0g-mg(81kY_*_ODMDci1`?di12k4)NpoG)F-$R;n2FbFvk zPPl75#T~WYIfrpbkgoC4`Vm_1$D?xw@Pxb8*N;2hwOT)-b3(quct-Y+t1>uI71FBr zqLK1P@%*~r*AL+vb7ia3asg%Vt>E`Ecu5Lo@WbFwxX$2b)E&}lz0%Gvxn`zL&)`?= z`I-o6Rmb)X-WT$aqN2)>XKskO``dm@3weBd;jd)N`uz@{2>Iykp9J;|ZVq|8dj_wQ zNI9*mmAL~3tFfgNGv}tTRg^H7%CM8o>^3&BJJ_V|f{nYejm_&8+{^ZH8}D{A`1|>l z^#I$&K7I^6#1ERCIEF{?EbnGe>uLwEA;eFpb|eu$G1SUVC>Gr0<{A8z@*a9}41eRw z%YFCb?_Bv;`;Xn8W03#HE)a!c94oFB%f)zz{{bl3siFV? literal 0 HcmV?d00001 diff --git a/bufferproject-java/src/garrage/dijkstra.java b/bufferproject-java/src/garrage/dijkstra.java new file mode 100644 index 0000000..6100ab4 --- /dev/null +++ b/bufferproject-java/src/garrage/dijkstra.java @@ -0,0 +1,182 @@ +package garrage; +import java.util.*; + + +import java.util.function.*; +import java.util.stream.Collectors; + +import weightedgraph.Maingraph; +import weightedgraph.firstgraph;; + + +public class dijkstra +{ + Scanner sc=new Scanner(System.in); + int whirl; + int source; + int two; + static final int totalVertex = 8; + + int minimumDistance(int distance[], Boolean spSet[]) + { + int m = Integer.MAX_VALUE, m_index = -1; + + for (int vx = 0; vx < totalVertex; vx++) + { + if (spSet[vx] == false && distance[vx] <= m) + { + m = distance[vx]; + m_index = vx; + } + } + return m_index; + } + void conditions(int source,int distance[], int n, firstgraph g,String a,String b) + { + this.source=source; + List list=new ArrayList(); + for(int j=0;j Fourwheeler = four->four%3==0; + List Streamlist=list.stream().filter(Fourwheeler).collect(Collectors.toList()); + spot(Streamlist, distance, g); + + } + else + + spot(list, distance, g); + + } + + public void dij(int s, int graph[][],firstgraph g,String a,String b) + { + this.source=s; + int distance[] = new int[totalVertex]; + + Boolean spSet[] = new Boolean[totalVertex]; + + for (int j = 0; j < totalVertex; j++) + { + distance[j] = Integer.MAX_VALUE; + spSet[j] = false; + } + distance[s] = 0; + for (int cnt = 0; cnt < totalVertex - 1; cnt++) + { + int ux = minimumDistance(distance, spSet); + spSet[ux] = true; + for (int vx = 0; vx < totalVertex; vx++) + if (!spSet[vx] && graph[ux][vx] != -1 && distance[ux] != Integer.MAX_VALUE && distance[ux] + graph[ux][vx] < distance[vx]) + { + distance[vx] = distance[ux] + graph[ux][vx]; + + } + + } + + + conditions(source,distance, totalVertex,g,a,b); //call to function conditions + } + + public void avail(int a,firstgraph g,int k) + { + + if(a==1) + { + g.getNodes().get(k).setAvail(false); + displayavailability(g,k); + } + + } + + void displayavailability(firstgraph g,int k) + { + if(g.getNodes().get(k).isAvail()==false) + { + System.out.println("This spot is filled now"); + + } + + } + + public void spot(List list,int distance[],firstgraph g) + { + int ch=0,nearestSpot=99; + if(list.isEmpty()) + { + System.out.println("Sorry!No spots are available right now"); + + } + else + + { + Collections.sort(list); + + do + { + + for(int i=0;ihK6Ev!wJ9lm>-Dw&LH~l%)rUTH_1i}yX=En^`kDu6&Sjsy z_c`@TWLN9DWFn*xU$WQibj_}p)A{)& zXTei2nhOfMbGl>ItJczm1-o8%++l^tnQFc2omJ>dre+mFqm7aiMIY{p!GvYvLkhdL zjoX2{vCBlfCs<*<={d_W^kX+8R_h9TTM?^`bhf^->J>cKv6qLVh+(gI-=}a-@}?%K z*&SeK3}HkR?#@-~&eZDiyyMQ;^EF4IKi62WYqPdnmAc;;@+#G)!hzf^7Kf7!PjPnV zO&p^0UaQ5b+w}ArMsW~#MezWRnD|J0@_IG1b*H)eUqQbspHr1L& z&}`U3l2#-3TB%~!#p^%}gE-DMyHt`y6q5e*d&UJ^amDy%hf}i_9^#r#pS19>JRh;} zh&&&)@R&Rwvv69Tr!0I_o~JDg$@6gudnQKR@C8fQOsUMU1Gfq5Pjon&nlyKK9D`OkhOrWMy_Cr7YQ9uTX43i8P!vVXnYcor zG#6BNz<&&%z_XmdiiE5Q1HrZKyiZ}^xfnhLn~P9)KFxIZB!eRIEiDk-=~lMh`idhd zuQyiR#F|s7F4Q_H&*&VzYmF1vDvncgT%Gy2Ze65(yE!?N9#17qPy}(VqidI)bg8;@ zwduKb6eSUU36&VCSmH9WMS>BkeIRF1K4o zT9)k8F2zdwWQ;97&6Xvz(w1};p^b7kbw3|v))uM4ICfb!1=Bmzl?+ypv4`nA8`tB7ml*@Fm_`IdoYH* z$YUR_;2xAIV2^@*fkJ(mmakB#Z*b4w#3B5Ve*R8E{=u{CT^zxG@Sr-(lWPLUl*hB_ zHKf#EF`)j9LE{jP8y9fIxQLU+6i#Ub5-pkg2w3dTU>u4zCNAJ2;ZewTu!#6rcZB@+{5VvFPqmfEghM74$wZkdfA&K}AiFk!XyhqDU%DDjJ9aVUHs+&6gq!~tIC%iVk9 zL3#%^IQvcB8sFmW@OQlZy^R6f;EnDbo!Qw|BtJ98)HgZ#dOEFhG&u4o_lz3veusI_ XTxKam4>9f^4Sr!M?jQ2m^!)z-oqom8 literal 0 HcmV?d00001 diff --git a/bufferproject-java/src/weightedgraph/Maingraph.java b/bufferproject-java/src/weightedgraph/Maingraph.java new file mode 100644 index 0000000..9b6c31c --- /dev/null +++ b/bufferproject-java/src/weightedgraph/Maingraph.java @@ -0,0 +1,192 @@ +package weightedgraph; + +import java.util.Scanner; +import garrage.dijkstra; + +public class Maingraph +{ + Scanner sc=new Scanner(System.in); +public void NodeA() + { + + firstgraph g=new firstgraph(); + + + g.addNode(0,"Bavdhan"); + g.addNode(1,"P1"); + g.addNode(2,"P2"); + g.addNode(3,"P3"); + g.addNode(4,"P4"); + g.addNode(5,"P5"); + g.addNode(6,"P6"); + g.addNode(7,"P7"); + + g.addEdge(0, 1, 2); + g.addEdge(0,4, 5); + g.addEdge(0, 3, 3); + g.addEdge(1, 2, 4); + g.addEdge(2, 3, 6); + g.addEdge(3, 4, 2); + g.addEdge(0, 7, 1); + g.addEdge(4, 5, 7); + g.addEdge(5, 6, 3); + g.addEdge(6, 2, 8); + g.addEdge(7, 4, 6); + + int grph[][] = new int[][] { + {-1,2,-1,3,5,-1,-1,1}, + {2,-1,4,-1,-1,-1,-1,-1}, + {-1,4,-1,6,-1,-1,-1,-1}, + {3,-1,6,-1,2,-1,-1,-1}, + {5,-1,-1,2,-1,7,-1,6}, + {-1,-1,-1,-1,7,-1,3,-1}, + {-1,-1,8,-1,-1,3,-1,-1}, + {1,-1,-1,-1,6,-1,-1,-1}}; + + + + + ask(grph,g); + + + + } + +public void NodeB() + { + firstgraph g=new firstgraph(); + + + g.addNode(0,"Kothrud"); + g.addNode(1,"P1"); + g.addNode(2,"P2"); + g.addNode(3,"P3"); + g.addNode(4,"P4"); + g.addNode(5,"P5"); + g.addNode(6,"P6"); + g.addNode(7,"P7"); + + g.addEdge(0, 1, 2); + g.addEdge(0,4, 5); + g.addEdge(0, 3, 3); + g.addEdge(1, 2, 4); + g.addEdge(2, 3, 6); + g.addEdge(3, 4, 2); + g.addEdge(0, 7, 1); + g.addEdge(4, 5, 7); + g.addEdge(5, 6, 3); + g.addEdge(6, 2, 8); + g.addEdge(7, 4, 6); + + + +int grph[][] = new int[][] { + {-1,3,-1,4,5,-1,-1,2}, + {3,-1,2,-1,-1,-1,-1,-1}, + {-1,2,-1,5,-1,-1,4,-1}, + {4,-1,5,-1,6,-1,-1,-1}, + {5,-1,-1,6,-1,4,-1,6}, + {-1,-1,-1,-1,4,-1,3,-1}, + {-1,-1,4,-1,-1,3,-1,-1}, + {2,-1,-1,-1,6,-1,-1,-1}}; + + ask(grph,g); + + } + public void NodeC() + { + firstgraph g=new firstgraph(); + + g.addNode(0,"Karvenagar"); + g.addNode(1,"P1"); + g.addNode(2,"P2"); + g.addNode(3,"P3"); + g.addNode(4,"P4"); + g.addNode(5,"P5"); + g.addNode(6,"P6"); + g.addNode(7,"P7"); + + g.addEdge(0, 1, 2); + g.addEdge(0,4, 5); + g.addEdge(0, 3, 3); + g.addEdge(1, 2, 4); + g.addEdge(2, 3, 6); + g.addEdge(3, 4, 2); + g.addEdge(0, 7, 1); + g.addEdge(4, 5, 7); + g.addEdge(5, 6, 3); + g.addEdge(6, 2, 8); + g.addEdge(7, 4, 6); + + int grph[][] = new int[][] { + {-1,1,-1,1,3,-1,-1,7}, + {1,-1,2,-1,-1,-1,-1,-1}, + {-1,2,-1,5,-1,-1,3,-1}, + {1,-1,5,-1,2,-1,-1,-1}, + {3,-1,-1,2,-1,5,-1,6}, + {-1,-1,-1,-1,5,-1,4,-1}, + {-1,-1,3,-1,-1,4,-1,-1}, + {7,-1,-1,-1,6,-1,-1,-1}}; + + ask(grph,g); + + + } + + public void NodeD() + { + firstgraph g=new firstgraph(); + + g.addNode(0,"Warje"); + g.addNode(1,"P1"); + g.addNode(2,"P2"); + g.addNode(3,"P3"); + g.addNode(4,"P4"); + g.addNode(5,"P5"); + g.addNode(6,"P6"); + g.addNode(7,"P7"); + + g.addEdge(0, 1, 2); + g.addEdge(0,4, 5); + g.addEdge(0, 3, 3); + g.addEdge(1, 2, 4); + g.addEdge(2, 3, 6); + g.addEdge(3, 4, 2); + g.addEdge(0, 7, 1); + g.addEdge(4, 5, 7); + g.addEdge(5, 6, 3); + g.addEdge(6, 2, 8); + g.addEdge(7, 4, 6); + + + + int grph[][] = new int[][] { + {-1,3,-1,2,-1,-1,-1,4}, + {3,-1,1,-1,-1,-1,-1,-1}, + {-1,1,-1,5,-1,-1,6,-1}, + {2,-1,5,-1,-1,-1,4,3}, + {-1,-1,-1,-1,-1,1,-1,2}, + {-1,-1,-1,-1,1,-1,2,-1}, + {-1,-1,6,4,-1,2,-1,-1}, + {4,-1,-1,3,2,-1,-1,-1}}; + + + + ask(grph,g); + + + } + + public void ask(int grph[][],firstgraph g) + { + System.out.println("\nWhat is today's date?\nPress E for Even and O for Odd(E/O):"); + String a=sc.next(); + System.out.println("\nWhat type is your vehicle?\nPress T for two-wheeler and F for four-wheeler(T/F) "); + String b=sc.next(); + dijkstra obj=new dijkstra(); + obj.dij( 0,grph,g,a,b); + + } + +} + diff --git a/bufferproject-java/src/weightedgraph/firstgraph$Edge.class b/bufferproject-java/src/weightedgraph/firstgraph$Edge.class new file mode 100644 index 0000000000000000000000000000000000000000..0e8d3ad8a077333c1cb8823b80c4267567d2e378 GIT binary patch literal 1066 zcmah{+int36kTVy6&wYrMT*wiiWa69ye1~rM$>2{A^2c}FTMcIgYoDLLzW)I56gxRs3M(JAHyTHJI11eN>52l6lnR1EPq@5q>=&f0Z z=});bj2uwIwMO$CKE#GGc0F0MSQ%knc;lZ01O3vIsf(w3-;r%A*zM_52m2E@40V`8 zL!p|qYpNLkmCduhldOcu*erB)7`^ht2y4_e#s8RwB{I{qL}X(rF;FVWVhn;);Ue*u zcnb_3s5zT66rFFl>}<_&#o3;r;w+_SsD3duYCJ2f4BTV2`^W%$37 zE1&;K-u-X#I&QI?B=516%$F7Bl~a}l6Me?{pPLGm81;u)*61o~*G)l@3E?0ft6&6}CGfBydZ4d4|94lIG*7pdk8Ezjm@_-PS*P-&*~v_DSH zqyt-^c^-ZagD8yW!TagCoN0k_6i#I%&>F4Zj&-Wy`2iovi=K!?a?M8 zA{>>yUSUduAyM`bxvLOpxNxw=I8w13UwoX(^dy`{(l95pFq(v^GWVir8#aNxja<1Y z5^iNu7mW7cbU2~Vmnv5JP#_p=L?2vtJDeDqcU@FbtD%G)7ai;h&`17q&qWy(66$2N z9|3PLygo;ucAQ+KGx8%c(^gFD5n6ZRP4p8s@-uKyF; zzRjWjvn6`#$t}tUQB|s{6Wd1j3WIma;N|8m&fdd*!En`T@7tx=mDSzyQ#c(zuhDGG@Z`QMNaViXwX?8Opzc z8JJAS4DiMbzp2A;R#I#wjQh|BX?MSG_nh-xR{H1P-~RycIhq<$0#|>OwsjQ9p5>W? zquQbE`9V0Gz}#5H zuIV39iH;JA(-4?1Ad8$*YP+&EJnl&ETeIU(-TYp^YdQy}XRCE=%mha^foHo`qk5p>mcWfS7F9?7pkx5sHlB(CZ%yq=G&#U{p>4(PZ;0N7NL#pdU?&?ZE7Q&oac9 zNN@LtURUne>YB}rza|eAy+EPqy3*TnOy8HjhV3^sOq8HZJVbQ)mh^*tsjjk*TfF0G ze#)p-U388bS1C+!#jg=`zVozv$z6iutZ{;ZafZ^16U_dGxnIKFSNJZ4I5}i^c7{mr z&{l}f;9V?mC9sIA#Eux2Lfjgy3O8%~in*UTNkM@rA;6skNOlBr4cA8?%OS{fu2bri zu@Xy4hbVezz0Xi8A<{y$D@IZ*QOGxVHj=6=Q=z2yaFe47-C{@?j*Dj~zc5x$aJ!|% zt~@x!`)Pc4IRiV)*)HRK7E&6~(Gle$R7Psxh1u)vsreHNvKWjv>VZ?J}TC~qSo z8Of{TaV)Qn24^a(b*%GGm*#l`8x)!$LJ3be%i;_AOGv%OvWD_&T<4oRH)&0=WwtoZ VbM_U3+Tl~?^OVmn?YYoi{txbStJ?qo literal 0 HcmV?d00001 diff --git a/bufferproject-java/src/weightedgraph/firstgraph.java b/bufferproject-java/src/weightedgraph/firstgraph.java new file mode 100644 index 0000000..7b49dcb --- /dev/null +++ b/bufferproject-java/src/weightedgraph/firstgraph.java @@ -0,0 +1,88 @@ +package weightedgraph; +import java.util.*; + + + +public class firstgraph { + + private Map nodes = new HashMap<>(); + public class Node + { + private String label; + boolean avail=true; + + public boolean isAvail() { + return avail; + } + + public void setAvail(boolean avail) { + this.avail = avail; + } + + public Node(String label) { + this.label = label; + } + + @Override + public String toString() { + return label; + } + + } + + + public Map getNodes() { + return nodes; + } + + public void setNodes(Map nodes) { + this.nodes = nodes; + } + + + public class Edge + { + private Node from; + private Node to; + private int weight; + + public Edge(Node from, Node to, int weight) { + this.from = from; + this.to = to; + this.weight = weight; + } + + public int getWeight() { + return weight; + } + + public Node getTo() { + return to; + } + + public void setTo(Node to) { + this.to = to; + } + + } + + public void addNode(Integer index,String label) { + var node = new Node(label); + + nodes.putIfAbsent(index,node); + //adjacencylist.putIfAbsent(node,new ArrayList<>()); + } + + public void addEdge(Integer from, Integer to, int weight) { + var fromNode = nodes.get(from); + if (fromNode == null) throw new IllegalArgumentException(); + + var toNode = nodes.get(to); + if (toNode == null) throw new IllegalArgumentException(); + + } + + + +} + From df003de91d5ea14e7efafe1f5fbf3a44c899b2a0 Mon Sep 17 00:00:00 2001 From: MadhaviDewalkar <117594468+MadhaviDewalkar@users.noreply.github.com> Date: Sun, 30 Apr 2023 23:12:36 +0530 Subject: [PATCH 2/4] Create ReadMe.md --- ReadMe.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 ReadMe.md diff --git a/ReadMe.md b/ReadMe.md new file mode 100644 index 0000000..0c4348d --- /dev/null +++ b/ReadMe.md @@ -0,0 +1,38 @@ +TEAM RAMP + +Theme:Digital Society + +Project Theme:Parking Management System + +Project Name:RAMP PARKING SOLUTIONS + +Team Members: + +Madhavi Dewalkar-SY ENTC + +Anushka Desai-SY ENTC + +Riya Barne-SY ENTC + +Purva Bhosale-SY ENTC + + +Project Description: + +RAMP is one stop solution for solving all your parking needs! +It helps you find the best possible parking spot according to type of vehicle, proximity to current loaction, government dating system(even/odd parking),etc. + +Project Drive link: https://drive.google.com/drive/folders/1DyMzXsDtXPRPtQ-dLy2_VAP7h9JpjBqR?usp=sharing +(Video Explanation and Reports) + +Sample Website:https://madhavidewalkar.github.io/RAMP_SY_35/ + +Data Structures Used: +Hash Maps +Graphs +Arraylist +Arrays + + + + From 69304b9cee21876dd55dc330df9bc086cfd278bc Mon Sep 17 00:00:00 2001 From: MadhaviDewalkar <117594468+MadhaviDewalkar@users.noreply.github.com> Date: Sun, 30 Apr 2023 23:16:20 +0530 Subject: [PATCH 3/4] Delete README.md --- README.md | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index 51757b0..0000000 --- a/README.md +++ /dev/null @@ -1,16 +0,0 @@ -# Buffer-4.0 -Buffer is a Data Structures and Algorithms Project series, in which students can participate as mentees in teams of 3-4 people. -This year the themes on which students can create a project are- - -1. Healthcare -2. Digital Society -3. Open Innovation -4. Custom data structure to store data - -This repository is created for all the teams to be able to upload their final project source code for the same. - -While submitting, note that: - -Each folder should have the name of the team and inside a readme file with team member details, (name, year, branch) and their theme. The readme file should also contain the link to their presentation as well as the drive link where all the three report documents would be stored. - -Happy Coding :) From 0db5a8c09335d255ce2a1db5518fe11905b31f38 Mon Sep 17 00:00:00 2001 From: MadhaviDewalkar <117594468+MadhaviDewalkar@users.noreply.github.com> Date: Sun, 30 Apr 2023 23:26:21 +0530 Subject: [PATCH 4/4] Update ReadMe.md --- ReadMe.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ReadMe.md b/ReadMe.md index 0c4348d..1230e1d 100644 --- a/ReadMe.md +++ b/ReadMe.md @@ -25,7 +25,7 @@ It helps you find the best possible parking spot according to type of vehicle, p Project Drive link: https://drive.google.com/drive/folders/1DyMzXsDtXPRPtQ-dLy2_VAP7h9JpjBqR?usp=sharing (Video Explanation and Reports) -Sample Website:https://madhavidewalkar.github.io/RAMP_SY_35/ +Sample Website:https://madhavidewalkar.github.io/RAMP_SY/ Data Structures Used: Hash Maps