TintChart.FindMaxClique failes with message Acces Violation in file lgsimplegraph.pas line 1642
function TGSimpleGraph.FindChordalMaxClique(out aClique: TIntSet): Boolean;
procedure NodeDone(aIndex: SizeInt; const aLefts: TIntSet);
begin
if aLefts.Count > Pred(aClique.Count) then
begin
aClique.Assign(aLefts);
aClique.Push(aIndex);
end;
end;
var
Dummy: TIntArray;
begin
aClique.Clear;
Result := FindPerfectElimOrd(@NodeDone, Dummy);
if not Result then
aClique.Clear;
end;
TintChart.FindMaxClique failes with message Acces Violation in file lgsimplegraph.pas line 1642
function TGSimpleGraph.FindChordalMaxClique(out aClique: TIntSet): Boolean; procedure NodeDone(aIndex: SizeInt; const aLefts: TIntSet); begin if aLefts.Count > Pred(aClique.Count) then begin aClique.Assign(aLefts); aClique.Push(aIndex); end; end; var Dummy: TIntArray; begin aClique.Clear; Result := FindPerfectElimOrd(@NodeDone, Dummy); if not Result then aClique.Clear; end;