Pages: [1]
  Print  
Author Topic: LOOP Operator: Stop from the inside of the loop process  (Read 690 times)
AndreasK
Newbie
*
Posts: 1


« on: February 28, 2014, 05:31:19 PM »

Hello,

I am using the loop Operator after using the cross distance operator with all k. becaus of that I recieve a result with an example set with several pairs of requests and documents. The Loop-operator is used to find the best reqeuest-ducument combination with the best distance value, writing it to CSV and then and then deleting alle requests and documents from all other combinations. This loop has to be done until there ist no request-document-pair left. the number of loops reduces by deleting the number of requests and documents via set-minus operator and the number of deleted pair can be various. How can I limit the number of loops from the inner of the loop. To my understanding the loop examples / attributes calculates the number of examples / attributes before executing the loop. Loop until uses certain conditions but not mine. Is there a possibility to contral the number of loops from the inner of the loop to the loop itself?

Thank you for your help!

Andreas
Logged
fras
Global Moderator
Jr. Member
*****
Posts: 81


« Reply #1 on: March 04, 2014, 02:41:39 PM »

Perhaps you may insert an example process ? The code-environment is useful for that:
Code:
  xml of process 
Logged
Marius
Administrator
Hero Member
*****
Posts: 1793



WWW
« Reply #2 on: March 07, 2014, 05:34:26 PM »

You can probably create a data set with Generate Data by User Specification or another operator together with a Branch operator, that makes up a dataset the fits Loop Until's needs.

Best regards,
Marius
Logged

Please add [SOLVED] to the topic title when your problem has been solved! (do so by editing the first post in the thread and modifying the title)
Please click here before posting.
Pages: [1]
  Print  
 
Jump to: