
The problem is I cannot see consumers' LapUtl vector because of the error. Re-initialise the model, either by using the 'setup' button or by issuing setup in the Command Centre. Let turt-Pr-rate-value item pos turtle-Pr-list Click on the bottom-left corner of the NetLogo Command Centre and tell it to send commands to the 'observer' again (it should be sending commands to the turtles at the moment). Let turt-Bat-rate-value item pos turtle-Bat-list Let turt-Sc-rate-value item pos turtle-Sc-list Set LapUtl-set lput (ScPWU + BatPWU + PrPWU) LapUtl-set Set PrPWU turtle-Pr-rating item ii Pr-set Set BatPWU turtle-Bat-rating item ii Bat-set Set ScPWU turtle-Sc-rating item ii Sc-set However, when I try to compile it returns that 'count-collisions was expecting a literal value' when it encounters age and gender. Then it will keep thee values which corresponds to the three review values for each of the three producers. Count-collisions is another function that generates collision data from given inputs. Each consumer has a review-set which is at first an empty set.
Netlogo set expected 2 inputs code#
We have released several version since then and code that runs on 6.2.0 should run without changes on NetLogo 6.3.0. We will need more information to help you. The thing that should be extracted from the data set is the evaluation of consumers (reviews). at position 304 in at .exception(Fail.scala:27) at .exception(Fail.scala:25). Set dissatisfied? false this agent is not a pbuyer Count-collisions is another function that generates collision data from given inputs. Set satisfied? false this agent is not a referrer REFERRERS Set producer? true this agent is a producer User-message "No file 'Prodinitattr.csv' exists!"įile-open "Prodinitattr.csv" open the file with the producers' initial attributes There are 3 producers who have some attribute levels for the screen, battery, price. Set turtle-averageage-list sublist data 18 length data Set turtle-income-list sublist data 17 18 Set average-headings sublist headings 18 length headings Set income-headings sublist headings 17 18 size data, battery charge data, Price data, income data, max age of an owner Splitting headings of the csv file into 5 categories representing screen Let headings csv:from-row file-read-line header is read


Sc-headings Bat-headings Pr-headings income-headings average-headings The dataset is read as follows: extensions They are defined as turtles and they are distinguishable by asking if the boolean variable satisfied? or dissatisfied? is true. This is a follow-up question related to a previous post LinkI have data related to 16 laptop consumers' review ratings which are either satisfied (16 people) or dissatisfied (6 people).
