Click here to Skip to main content
16,005,389 members
Home / Discussions / C#
   

C#

 
GeneralRe: CLR access policy for a C# control Pin
Nick Parker10-Nov-04 8:23
protectorNick Parker10-Nov-04 8:23 
GeneralDynamic user controls Pin
HectorB10-Nov-04 7:46
HectorB10-Nov-04 7:46 
GeneralRe: Dynamic user controls Pin
Nick Parker10-Nov-04 8:10
protectorNick Parker10-Nov-04 8:10 
Generaldestroy dll Pin
ppp00110-Nov-04 7:15
ppp00110-Nov-04 7:15 
GeneralRe: destroy dll Pin
Nick Parker10-Nov-04 7:28
protectorNick Parker10-Nov-04 7:28 
GeneralConditional Attributes Pin
Kevin McFarlane10-Nov-04 5:27
Kevin McFarlane10-Nov-04 5:27 
GeneralMonitor Problem Pin
waiwai0910-Nov-04 3:18
waiwai0910-Nov-04 3:18 
GeneralPathfinding (path or no path) in 3D Pin
Sebastian Schneider10-Nov-04 3:04
Sebastian Schneider10-Nov-04 3:04 
Hi everybody,

now for something completely different Wink | ;)

I just read an article on pathfinding here on CP(http://www.codeproject.com/csharp/CSharpPathfind.asp) but it did not really get me started as I am too dumb to convert this to 3D Wink | ;)

MY PROBLEM:

I have to write a program which checks if there is a path through a threedimensional cube, which consists of smaller cubes (scubes)

The cube dimensions are fixed (20x20x20 scubes) and each scube may be filled or void.

The is one variable, p, which determines the probability of a scube being filled (p) or being a void (1-p). This does not change as we iterate through the scubes on startup.

I have this cube ready to go and should now determine if there is a path from the top side to the bottom side.

Movement Rule: No Diagonal Moves, only along the three axis.

I smell recursion here, but I can't figure out how to do this Smile | :)

If I had some Lego(tm) here, I might have BUILT a cube and found a solution, but right now all I have is one sheet of paper and a pencil.

Can anyone get me back on track?

Cheers
Sid
GeneralFind and replace in text file Pin
sevan10-Nov-04 2:12
sevan10-Nov-04 2:12 
GeneralRe: Find and replace in text file Pin
Dave Kreskowiak10-Nov-04 3:27
mveDave Kreskowiak10-Nov-04 3:27 
GeneralRe: Find and replace in text file Pin
tom_dx10-Nov-04 12:39
tom_dx10-Nov-04 12:39 
GeneralRe: Find and replace in text file Pin
Dave Kreskowiak10-Nov-04 13:37
mveDave Kreskowiak10-Nov-04 13:37 
GeneralRe: Find and replace in text file Pin
Kraki11-Nov-04 9:06
Kraki11-Nov-04 9:06 
QuestionIs there a way to prevent InitializeComponent() regeneration? Pin
DizzyMobile10-Nov-04 1:26
DizzyMobile10-Nov-04 1:26 
AnswerRe: Is there a way to prevent InitializeComponent() regeneration? Pin
Skynyrd10-Nov-04 5:26
Skynyrd10-Nov-04 5:26 
AnswerRe: Is there a way to prevent InitializeComponent() regeneration? Pin
J4amieC10-Nov-04 5:34
J4amieC10-Nov-04 5:34 
GeneralRe: Is there a way to prevent InitializeComponent() regeneration? Pin
DizzyMobile10-Nov-04 8:35
DizzyMobile10-Nov-04 8:35 
GeneralRe: Is there a way to prevent InitializeComponent() regeneration? Pin
Skynyrd10-Nov-04 9:47
Skynyrd10-Nov-04 9:47 
Generaloverride WndProc allow form resize, move, max and min Pin
Lyhr10-Nov-04 0:51
Lyhr10-Nov-04 0:51 
GeneralRe: override WndProc allow form resize, move, max and min Pin
Jay Shankar10-Nov-04 19:36
Jay Shankar10-Nov-04 19:36 
GeneralGet ID of resource Pin
El'Cachubrey10-Nov-04 0:50
El'Cachubrey10-Nov-04 0:50 
GeneralRe: Get ID of resource Pin
Heath Stewart10-Nov-04 8:35
protectorHeath Stewart10-Nov-04 8:35 
GeneralSetPixel in C# Pin
Lost In China10-Nov-04 0:36
sussLost In China10-Nov-04 0:36 
GeneralRe: SetPixel in C# Pin
benjymous10-Nov-04 1:03
benjymous10-Nov-04 1:03 
GeneralRe: SetPixel in C# Pin
ACorbs11-Nov-04 19:10
ACorbs11-Nov-04 19:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.