Autor Beitrag
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Di 11.12.07 16:22 
Ich glaub es passt wieder, jetzt probier ich selber noch paar mal xD

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
Xion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
EE-Maler
Beiträge: 1952
Erhaltene Danke: 128

Windows XP
Delphi (2005, SmartInspect), SQL, Lua, Java (Eclipse), C++ (Visual Studio 2010, Qt Creator), Python (Blender), Prolog (SWIProlog), Haskell (ghci)
BeitragVerfasst: Di 11.12.07 20:54 
meins schafft die Deutschlandkarte in 1.4sec *angeb*. Nur mal so: Vieviele Farben sagt euer Proggy bei dieser Map? *snip* :)

Edit: Sorry, wenn da zu kleine Flächen dabei sein sollten

Edit2: Sorry @Admins, dachte nicht, dass es als Tipp gilt

Moderiert von user profile iconNarses: Tipp gelöscht. ;) Bitte keine eigenen Karten rausgeben, bis das Gewinnspiel vorbei ist! Danke.

_________________
a broken heart is like a broken window - it'll never heal
In einem gut regierten Land ist Armut eine Schande, in einem schlecht regierten Reichtum. (Konfuzius)
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Mi 12.12.07 00:28 
Moin!

user profile iconChryzler hat hier eine Frage zur Verwendung von Fremdkomponenten gestellt. Wir haben das im Team besprochen und sind zu folgendem Ergebnis gekommen:

Grundsätzlich bleibt die Verwendung von Fremdkomponenten und Bibliotheken ausgeschlossen. In dem speziellen Fall der FloodFill-Klasse für C# machen wir allerdings eine Ausnahme, da dies mit der VCL standardmäßig geht, in C# aber nicht. Durch die Ausnahme werden also die C#-Programmierer lediglich wieder den Delphianern gleichgestellt, was wir als vertretbar einstufen.

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Chryzler
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1097
Erhaltene Danke: 2



BeitragVerfasst: Mi 12.12.07 15:37 
Super, danke. :zustimm:
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Sa 15.12.07 18:03 
Soo, jetzt hab ich mich da auch mal drangemacht, für die Deutschlandkarte braucht mein Programm aber noch 46 Millisekunden, da werde ich vielleicht noch ein wenig optimieren ;-).
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: Sa 15.12.07 19:08 
Wer braucht schon FloodFill, mein Programm hat sowas auch nicht :eyecrazy:

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 16.12.07 00:13 
Ich habe FloodFill benutzt, das nimmt einige Arbeit ab, ansonsten hätte ich den Algorithmus anders machen müssen.
Ich bin aber schon gespannt auf deinen Algorithmus, ich stelle es mir ohne FloodFill schwieriger vor. ;-)
Wie lange brauchst du, also dein Programm, denn ohne FloodFill?
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: So 16.12.07 01:14 
Moin!

Ich möchte sicherheitshalber nochmal darauf hinweisen, dass Abgaben ohne den Quelltext der Anwendung ungültig sind und nicht gewertet werden! :mahn: ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
GTA-Place
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
EE-Regisseur
Beiträge: 5248
Erhaltene Danke: 2

WIN XP, IE 7, FF 2.0
Delphi 7, Lazarus
BeitragVerfasst: So 16.12.07 10:18 
user profile iconjaenicke hat folgendes geschrieben:
Wie lange brauchst du, also dein Programm, denn ohne FloodFill?

Deutschlandkarte:
- ganz ohne FloodFill: ~30 Sekunden
- mit FloodFill im 2. Teil: ~15 Sekunden
- mit FloodFill: bisher noch nicht getestet.

Ich hätte nur vorher auf FloodFill kommen müssen, aber jetzt lass ich es so ^_^

_________________
"Wer Ego-Shooter Killerspiele nennt, muss konsequenterweise jeden Horrorstreifen als Killerfilm bezeichnen." (Zeit.de)
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: Mo 17.12.07 09:38 
Soo, jetzt habe ich wie angekündigt noch etwas optimiert. Ergebnis: Auf einem 3700er Athlon 64 dauert die Deutschlandkarte nur noch 17 Millisekunden ;-). Und die Zeit werde ich auch noch versuchen zu drücken.

// EDIT: Oh oh, da war ein Fehler drin, jetzt stimmen nicht mehr alle Karten... :(
Also weiterhin 45 Millisekunden erstmal^^
// EDIT2:
Jetzt stimmts xD, also 17 Millisekunden braucht mein Programm jetzt ;-).
BenBE
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 8721
Erhaltene Danke: 191

Win95, Win98SE, Win2K, WinXP
D1S, D3S, D4S, D5E, D6E, D7E, D9PE, D10E, D12P, DXEP, L0.9\FPC2.0
BeitragVerfasst: Sa 22.12.07 16:51 
Ach ja, kurze Frage:

Müssen bei den ausgemalten Karten die Farben komplett übereinstimmen oder muss lediglich die Graphenfärbung korrekt sein (d.h. die Färbung der Flächen die Bedingungen erfüllen)?

MfG,
BenBE.

_________________
Anyone who is capable of being elected president should on no account be allowed to do the job.
Ich code EdgeMonkey - In dubio pro Setting.
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: Sa 22.12.07 21:32 
Moin!

user profile iconBenBE hat folgendes geschrieben:
die Färbung der Flächen die Bedingungen erfüllen
Wenn du das (allgemein) korrekt hinkriegst, reicht´s. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Xion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
EE-Maler
Beiträge: 1952
Erhaltene Danke: 128

Windows XP
Delphi (2005, SmartInspect), SQL, Lua, Java (Eclipse), C++ (Visual Studio 2010, Qt Creator), Python (Blender), Prolog (SWIProlog), Haskell (ghci)
BeitragVerfasst: So 23.12.07 11:12 
ich vermute mal, man sollte den Quelltext auch kommentieren, oder? :lol: muss ich noch machen...

_________________
a broken heart is like a broken window - it'll never heal
In einem gut regierten Land ist Armut eine Schande, in einem schlecht regierten Reichtum. (Konfuzius)
Narses Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Administrator
Beiträge: 10181
Erhaltene Danke: 1254

W10ent
TP3 .. D7pro .. D10.2CE
BeitragVerfasst: So 23.12.07 12:54 
Moin!

user profile iconXion hat folgendes geschrieben:
ich vermute mal, man sollte den Quelltext auch kommentieren, oder?
Nein, das ist keine Bedingung - aber es "schadet" auch sicher nichts. ;)

cu
Narses

_________________
There are 10 types of people - those who understand binary and those who don´t.
Xion
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
EE-Maler
Beiträge: 1952
Erhaltene Danke: 128

Windows XP
Delphi (2005, SmartInspect), SQL, Lua, Java (Eclipse), C++ (Visual Studio 2010, Qt Creator), Python (Blender), Prolog (SWIProlog), Haskell (ghci)
BeitragVerfasst: So 23.12.07 14:30 
Hi,

habs aber trotzdem gemacht (so, dass man ungefähr weiß was vor sich geht) ;) will euch ja nicht unnötig Arbeit machen.

Xion

_________________
a broken heart is like a broken window - it'll never heal
In einem gut regierten Land ist Armut eine Schande, in einem schlecht regierten Reichtum. (Konfuzius)
jaenicke
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 19272
Erhaltene Danke: 1740

W11 x64 (Chrome, Edge)
Delphi 11 Pro, Oxygene, C# (VS 2022), JS/HTML, Java (NB), PHP, Lazarus
BeitragVerfasst: So 23.12.07 17:00 
Ich auch, denn ich will das Programm ja hier dann auch vorstellen, wenn das Gewinnspiel vorbei ist. ;-)
Wie ich mittlerweile bemerkt habe ist in der Programmoberfläche bei mir noch ein klitzekleiner Fehler (Eventverknüpfung bei einem RadioButton vergessen xD) gewesen, hatte da aber schon auf Absenden geklickt (also nicht beim Upload-Formular sondern davor bei der Frage), aber Hauptsache das Programm selbst funktioniert.

Na jedenfalls bin ich gespannt, welche vielleicht noch schnelleren / besseren Lösungen hier dann noch gepostet werden. ;-)
Ich optimiere mein Programm evtl. auch noch etwas bzw. baue mehr Funktionen ein, mal sehen.