Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 170 results for
prim
- Page 1
Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by mx_983
… 5:05:10 0 [Note] WSREP: Node e1facb37-96cc state
prim
2024-04-03 5:05:10 0 [Note] WSREP: view…(view_id(
PRIM
,b0bc65f1-8af3,46) memb { b0bc65f1-8af3,0 e1facb37-96cc,0…
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by rproffitt
From https://stackoverflow.com/questions/78269177/mariadb10-11-6-galera-single-failed-node-startup-stuck-failure where they call it out as a bug waiting for a fix.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by rproffitt
The problem is still unresolved. Until the bug is fixed. Be sure to tell all that you don't accept this as a bug and want a fix now.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by rproffitt
I wonder if the last other stable releases show this issue? "Stable release: 11.3.2 / 16 February 2024; 46 days ago" or the most recent release of MariaDB 10.11: MariaDB 10.11.7 Stable (GA) That is, many fixes don't get released for out of date versions. The new version is how many fixes are issued.
Re: Mariadb10.11.6 Glarea single failed node startup stuck failure
Programming
Databases
2 Months Ago
by toneewa
I wonder how these IP addresses are issued. Static, dynamic, or is DHCP on? It reminds me of the time a network printer that stopped working, after the power went out. Other devices connected to the network after it's setup. Then, after rebooting, it got a different IP, but the host still thought it was on the old one. I've seen the same thing when…
Prim's Algorithm for MST: File IO Error
Programming
Software Development
14 Years Ago
by r1409
…adjacencyList; // 100000 is the maximum vertexes void read(); int
Prim
(int at); bool add(pListIt &dest, int val…edges and weights of the MST: \n\n";
Prim
(1); fclose(fp); system("PAUSE"); return 0… } //Prims Algoritm to create the minimal spanning tree int
Prim
(int at) { int i = 0; memset(tree, 0…
Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by thinkerman
…trouble with creating a program based on
Prim
's algorithm. This is the program and…a][b]=weight[b][a]=w; } } void
prim
() { int current,totalvisited,mincost,i; current=1…"<<p[i]; } main() { creategraph();
prim
(); getch(); } error C4430: missing type specifier - int …
Re: Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by thinkerman
…. It took me a while to make the program. Since
Prim
's algorithm and Kruskal's algorithm are similiar, I decided… to use the
Prim
's algorithm code and rework it to use Kruskal's…
Re: Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by happyuk
… excellent sources of information in understanding the workings of Kruskal,
Prim
etc for finding minmal spanning trees: http://en.wikipedia.org…
Prim Algorithm Implementation
Programming
Software Development
10 Years Ago
by naamurad
I have been looking for
Prim
Algorithm on daniweb.com website and I found multiple threads …dead but still unsolved. Few people needs expalination of
Prim
Algorithm and others need its working code. Well, to help… everyout out, here is a link to working
Prim
's Algorithm code which is easier to understand. http://in…
Prim's Algorithm Implementation on Graph.
Programming
Software Development
11 Years Ago
by zindgi66
… <graphics.h> int main() { initwindow(1366, 768, "
Prim
's Algorithm"); int midx,midy; // /**************Node 0 creation***************/ midx…
Algorithm Proof, Prim vs. Kruskal (the same?)
Programming
Computer Science
16 Years Ago
by drichird
… class, my question is this: Is the proof for
Prim
's algorithm any different than for Kruskal? I understand both… Kruskal (e.g. Wikipedia), but trouble finding proofs for
Prim
. The Kruskal proof is as far as I can see…the MST morphs into Kruskal Is the proof for
Prim
identical? Since the
Prim
algorithm is more constrained, it seems to me…
Re: Algorithm Proof, Prim vs. Kruskal (the same?)
Programming
Computer Science
16 Years Ago
by sarehu
… not an MST. [QUOTE]Is the proof for
Prim
identical? Since the
Prim
algorithm is more constrained, it seems to me there… should be a simpler proof for
Prim
?[/QUOTE] It's pretty much the same kind of idea…. (And the proof in both cases is short anyway.) For
Prim
's algorithm, let S be the set of nodes in…
help for the prim algorithm
Programming
Software Development
17 Years Ago
by pplteo
…; //distance of the MST public
Prim
() { super("
Prim
"); legend.Init(); legend.AddEdge… { return cost; } /************************************************* * Run one step of
Prim
's algorithm. * *************************************************/ public void step() { //no …
Re: help for the prim algorithm
Programming
Software Development
17 Years Ago
by thekashyap
Usually you would save in a file named
Prim
.java then execute: > javac
Prim
.java If this gives any compilation errors you'll sove them and do again. Then run it using: > java
Prim
Re: :-O Prim's Algo
Programming
Software Development
16 Years Ago
by peter_budo
there is that funny thing called [URL="http://www.google.co.uk/search?hl=en&q=
Prim
%27s+Algorithm+Implementation&btnG=Google+Search&meta="]google search [/URL]and it does bring lot of resources like [URL="http://en.wikipedia.org/wiki/
Prim
's_algorithm"]wikipedia[/URL]
proof of kruskal's and prim's algorithm
Community Center
Say Hello!
18 Years Ago
by mukeshkr.mishra
hello buddy out there! i want the proof of
prim
's and kruskal's algorithm in theory and with example so please help me out thanks in advance
:-O Prim's Algo
Programming
Software Development
16 Years Ago
by Kashif
Any one knows different types of
Prim
's Algorithm Implementation.
Help me to find the error in Prim code
Programming
Software Development
14 Years Ago
by chuong3a
Help me to find the error in
Prim
code, thanks. [CODE] #include <iostream.h> #include <…
Re: Help me to find the error in Prim code
Programming
Software Development
14 Years Ago
by chuong3a
Help me to run by step the
Prim
code, thanks. [CODE] #include <iostream.h> #include <…
Spanning Trees: Prim's and Kruskal's Algorithm
Programming
Software Development
13 Years Ago
by floatingDivs
… mistake (if I have). Here are my edges for [B]
Prim
's Algorithm[/B] (1,2) - (1,5) - (5, 7) - (7…
Re: Spanning Trees: Prim's and Kruskal's Algorithm
Programming
Software Development
12 Years Ago
by cherry4life
i think for
prim
's algorithm one last edge is missing. 5-6
Re: Prim's Algorithm for MST: File IO Error
Programming
Software Development
14 Years Ago
by daviddoria
First, why not change the headers to [code] #include <memory.h> #include <cstdio> #include <cstdlib> //required for system() #include <iostream> [/code] to use the "new" way. Also, I think the "c++ way" is to use cout and endl instead of printf and \n. Now to the main problem The first output ("…
Re: Prim's Algorithm for MST: File IO Error
Programming
Software Development
14 Years Ago
by r1409
thanks Dave the reason i am using printf is that i'm not sure of the syntax to use with cout statements when writing to output file, for instance, i don't know how to do this using cout and out statements: [QUOTE]printf( " %d) %d - %d -> %d \n",i, edges[curent].from,edges[curent].to, edges[curent].weight);[/QUOTE] thanks for the …
Re: Prim's Algorithm for MST: File IO Error
Programming
Software Development
14 Years Ago
by daviddoria
Here is how you use ofstream: [url]http://www.java2s.com/Code/Cpp/File/Toreadorwritetoafileyouincludefstream.htm[/url] I'd definitely stop using fopen :) Dave
Re: Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by Ancient Dragon
line 71 must be `int main()`
Re: Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by np complete
If you want to follow Standard then replace `#include<stdio.h>` with `#include<cstdio>`
Re: Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by thinkerman
Thanks for the solution Ancient Dragon. I'll try to create the program for Kruskal's Algorithm and post it here if I encounter any errors. I also replaced #include<stdio.h> with #include<cstdio>. Feel free to suggest any other changes as long as they don't radically change the output.
Re: Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by Ancient Dragon
Just briefly looking at your program, on line 34, what's the value of m? Answer: undetermined because you failed to set its value to something (using an uninitialized variable). Next problem is that arrays have valid indexes as 0, 1, 2, 3, ... N-1. Your loops should start at 0, not at 1, and continue until < N, not <= N.
Re: Prim's algorithm and Kruskal's algorithm program help
Programming
Software Development
11 Years Ago
by WaltP
It really helps to [format your code](http://www.gidnetwork.com/b-38.html) so others can follow it. Formatting also helps *you* when you get an error like "end of file during compile" of "else without if"... Also, **conio.h** is non-standard and should be avoided. You certainly don't *need* it in these programs.
1
2
3
Next
Last
Search
Search
Forum Categories
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC