Re: Kruskal algorythm.



On 10 Gen, 02:48, Lew <no...@xxxxxxxxxxxxx> wrote:
noaco wrote:
[I]'m developing with eclipse, and [I] don't understand for example why,
if [I] try to instance asdlab.libreria.Grafi.GrafoLA graph = new
asdlab.libreria.Grafi.GrafoLA which should be a class gives me an
error.
Syntax error on token(s), misplaced construct(s).

Sounds like you didn't include the parentheses, or else didn't make the
statement inside the correct set of curly braces.  WSithout the context of the
source code or the exact, complete error message, it's hard to be certain..

The error message should have come with a little circumflex pointer (^)
indicating which token gave it trouble.

public abstract class Nodo implements Rif{
public Object info;
public Nodo(object info { this.info = info; }

This line is not syntactically correct.  Spelling and punctuation ('Object',
parentheses) count.

public abstract Object contenitore();*
}

When you post code, please indent it properly for readability.  Two, maybe up
to four, spaces per indent level makes the code on Usenet much easier to
understand for those who wish to help.

Member variables usually should not be 'public', but 'private' and accessed
through "accessor" ('getInfo()') and "mutator" ('setInfo()') methods.

--
Lew

This is the code.

public class principale {


asdlab.libreria.Grafi.GrafoLA graf = new
asdlab.libreria.Grafi.GrafoLA;


public static void main(String[] args) {

}


}

My libraries are jar files included through the referenced libraries
method.
public Nodo(object info { this.info = info; } was as a matter of fact
public Nodo(object info) { this.info = info; }.
So, to create the Graph, should i instance first nodes and edges or it
inherits it?
eh ok.
Thanks.
Bye.
Ciao.
Andrea.
.



Relevant Pages

  • Re: installing BLT 2.4z
    ... > even get the actual error message down. ... graph appear in blue, but I can't roll over a point and have ... barchart1.tcl - crashes, instruction 0x1004ab96 referenced memory ... barchart2.tcl - fails, invalid command name, ".header.stacked" ...
    (comp.lang.tcl)
  • Re: AVStream Driver filter: GraphEdt initiating stop
    ... seconds and then the graph edt application initiates a stop operation. ... Catastrophic failure ... Under what situation does the graphedit gives such a error message and stops ... error received on an input pin write or output pin read. ...
    (microsoft.public.development.device.drivers)
  • Re: Start up error message - Microsoft Graph
    ... Microsoft Office MVP ... MVP FAQ site: http://mvps.org/ ... > Need to get rid of the following error message that appears whenever ... The error box shows Microsoft Graph with the ...
    (microsoft.public.office.misc)
  • Re: Microsoft Graph error box appears
    ... If the files are in other folders, try renaming them to graphold or badgraph ... You can delete them if you're sure Graph ... destop computer. ... appears that is labeled "Microsoft Graph" and the error message reads ...
    (microsoft.public.office.misc)
  • RE: code fails if graph is selected
    ... BTW the error message is ... Run-time error "1004" ... "Jim Thomlinson" wrote: ... Please de-select the graph before continuing..." ...
    (microsoft.public.excel.programming)

Loading