Import of reference file

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@11337 e0a1b77d-ad91-4216-81b1-defd5f83fa92
The Instances class now has a HashMap to quickly look up an attribute based on its name. This changes the runtime of attribute(String) from linear in the number of attributes to constant. It should also improve the runtime of replaceAttributeAtt(), renameAttribute(), and insertAttributeAt(), along with that of a fairly large amount of other WEKA code that directly or indirectly uses attribute(String).

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@11338 e0a1b77d-ad91-4216-81b1-defd5f83fa92
Fixed bug in replaceAttributeAt() in Instances that I introduced in the modifications I made today.

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@11339 e0a1b77d-ad91-4216-81b1-defd5f83fa92
The Instances class now has a HashMap to quickly look up an attribute based on its name. This changes the runtime of attribute(String) from linear in the number of attributes to constant. It should also improve the runtime of replaceAttributeAtt(), renameAttribute(), and insertAttributeAt(), along with that of a fairly large amount of other WEKA code that directly or indirectly uses attribute(String).

git-svn-id: https://svn.cms.waikato.ac.nz/svn/weka@11340 e0a1b77d-ad91-4216-81b1-defd5f83fa92