Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic PathFinder setting limit for Cycle Length (Read 4069 times)
yeng
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Aug 18th, 2010
PathFinder setting limit for Cycle Length
Aug 19th, 2010 at 2:42am
Print Post  
i'm working for developing a analysis software using trial version of wpfdiagram. is it possible that setting limit for cycle length when finding all cycles? or retrieve partial list of cycles while finding is in progress? coz we may hav a huge list of cycles in our diagram. thnx.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PathFinder setting limit for Cycle Length
Reply #1 - Aug 19th, 2010 at 6:32am
Print Post  
Hi,

We have added an EnumAllCycles iterator method here:
https://mindfusion.eu/_beta/wpfdiag_cycleiterator.zip

It uses the "yield" instruction to return each cycle during the iteration, and you can process it immediately without waiting for all cycles to be found. E.g. you could update the UI while the foreach loop runs, or break it when you find a certain number of cycles.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
yeng
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Aug 18th, 2010
Re: PathFinder setting limit for Cycle Length
Reply #2 - Aug 20th, 2010 at 5:30am
Print Post  
got it. thnx alot  Smiley
  
Back to top
 
IP Logged
 
yeng
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Aug 18th, 2010
Re: PathFinder setting limit for Cycle Length
Reply #3 - May 23rd, 2011 at 7:13am
Print Post  
hi stoyo, we lost the library and found that the link is broken. could you update the link again?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: PathFinder setting limit for Cycle Length
Reply #4 - May 23rd, 2011 at 7:24am
Print Post  
Hi,

This is now available in official releases since version 2.5.

Stoyan
  
Back to top
 
IP Logged
 
yeng
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 5
Joined: Aug 18th, 2010
Re: PathFinder setting limit for Cycle Length
Reply #5 - May 23rd, 2011 at 7:53am
Print Post  
thnx for the prompt reply.  Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint