Info
此问题已关闭。 请重新打开它进行编辑或回答。
How can I modify database in each iteration using the original one?
2 次查看(过去 30 天)
显示 更早的评论
in my code T1 is a data base is already load,
N=10;
for i=1:N
Qt(i).Cost = Evaluation(Qt(i).sequen,SI,D,T1,MST,NS,L);
end
i call the Evaluation function to evaluate each solution (vector) =Qt(i).sequen, Now T1 is the data base I wish to modify, but I want each Qt(i) modify by the original T1 not T1 already modified in the previous step
And the result of Qt save it in file .txt
How can i do that?
4 个评论
Walter Roberson
2019-11-18
You do not modify T1 in the code you show, so it is not clear why you are talking about T1 modified in the previous step.
回答(0 个)
此问题已关闭。
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!