<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Hi all,<br><span id="result_box" class="long_text"><span style="background-color: rgb(255, 255, 255);" title="Ho un problema con la lista di ricerca tabų.">I have a problem with the list of taboo search. </span><span style="background-color: rgb(255, 255, 255);" title="Ho una classe di mossa con molti attributi e voglio considerare che una mossa č tabų attraverso solo due o tre dei suoi attributi (valori interi).">I
have a move class with many attributes and I want to consider that a
move is taboo by only two or three of its attributes (integer values).<br><br></span><span style="background-color: rgb(255, 255, 255);" title="per esempio:">For example:<br><br></span><span style="background-color: rgb(255, 255, 255);" title="ho due liste (ognuna ha il proprio id), la mossa č spostare un oggetto (che ha un suo id ) da una lista all'altra.">I have two lists (each has its own id), the move is to move an object (which has its own id) from a list to another. </span><span style="background-color: rgb(255, 255, 255);" title="quindi gli attributi che identificano la mossa sono i tre identificativi ( id_object, id_SRC_List, id_DST_List).">then the attributes that identify the move are the three identifiers (id_object, id_SRC_List, id_DST_List).<br><br></span><span style="background-color: rgb(255, 255, 255);" title="quando faccio questa mosse vorrei considerare tabu tutte le mosse che mi riportano l'oggetto nella lista originale.">when I make
this move I would consider taboo all the moves that bring me back the item in the original list. </span><span title="ossia tutte le mosse del tipo">ie all the moves of type<br></span><span title="( id_object, id_of_any_other_List, id_SRC_List).">(Id_object, id_of_any_other_List, id_SRC_List).<br><br></span><span style="background-color: rgb(255, 255, 255);" title="non credo di poter utilizzare CompletTaboSize o altro del genere poiché credo che due mosse che eseguono lo stesso scambio possano essere considerate diverse a causa degli altri attributi.">I
don't think that I can use CompletTaboSize (or undoMove etc..) because I think that
two moves that perform the same exchange can be considered different
because of other attributes.<br><br></span><span style="background-color: rgb(255, 255, 255);" title="Per ora sto provando a utilizzare la PropertyTaboList.">For now I'm trying to use the PropertyTaboList.<br><br></span><span style="background-color: rgb(255, 255, 255);" title="public Collection<?">public Collection <? </span><span title="extends Object> getTabuProperties() {">extends Object> getTabuProperties () (<br></span><span style="background-color: rgb(255, 255, 255);" title="HashMap<Integer, Integer> propertyTaboo = new HashMap<Integer,Integer>(1);">HashMap <Integer, Integer> propertyTaboo = new HashMap <Integer,Integer> (1);<br></span><span style="background-color: rgb(255, 255, 255);" title="propertyTaboo.put(customerNumber, sourceRoute);">propertyTaboo.put (CustomerNumber, sourceRoute); // id_object, id_SRC_List<br></span><span style="background-color: rgb(255, 255, 255);" title="return
Collections.singletonList(propertyTaboo);">return Collections.singletonList (propertyTaboo);<br></span><span title="}">)<br><br></span><span style="background-color: rgb(255, 255, 255);" title="Ma non so se cosė raggiungo l'obiettivo.">I do not know if it reaches the target.<br></span><span style="background-color: rgb(255, 255, 255);" title="Qualcuno ha qualche consiglio su come potrei fare?">Someone has some advice on how I could do?</span></span><span id="result_box" class="short_text"><span style="background-color: rgb(255, 255, 255);" title="voglio discriminare"><br><br>ragards,<br>Marco<br></span></span></td></tr></table><br>