<%@ page import="java.util.List" %> <%@ page import="java.util.Iterator" %> <%@ page import="java.util.Calendar" %> <%@ page import="java.util.Date" %> <%@ page import="java.util.Map" %> <%@ page import="com.ikatun.reimaginings.artlogic.*" %> <% Map byColor = Conversation.getColorMap(); boolean submit = request.getParameter("is_submit") != null; Date today = Calendar.getInstance().getTime(); if (submit) { //submit comments to rankings table int ranking1 = request.getParameter("ranking1") == null ? -1 : Integer.parseInt(request.getParameter("ranking1")); int ranking2 = request.getParameter("ranking2") == null ? -1 : Integer.parseInt(request.getParameter("ranking2")); int ranking3 = request.getParameter("ranking3") == null ? -1 : Integer.parseInt(request.getParameter("ranking3")); String comments = request.getParameter("comments"); String posted_by = request.getRemoteHost(); Ranking ranking = Ranking.createNewRanking( -1, posted_by, new java.sql.Date(today.getTime()), ranking1, ranking2, ranking3, comments, Ranking.NEWTONIAN_MODEL ); ranking.save(); } List rankings = Ranking.getRankings(-1, Ranking.NEWTONIAN_MODEL); %> reimaginings
The NEWTONIAN MODEL (Nem) is the basis of the /reimaginings/ project. Here, the fundamental properties of color classification (roygbiv) are used as the basis for grouping the Instant Messenging Conversations. The spectrum generated by the classical Newtonian Model is the underpinning technical component for the Reimaginings Prism Engine - RPE 2004 rX. Filling out the HUMAN SURVEY DATA COLLECTION below will provide vital human input and oversight of the generative algoritms of RPE 2004 rX.

*NEWTONIAN MODEL*

 
<% String color = "red"; if (byColor.containsKey(color)) { for (Iterator i = ((List) byColor.get(color)).iterator(); i.hasNext(); ) { int[] ids = (int[]) i.next(); %>  
<% } } %>
 
<% color = "orange"; if (byColor.containsKey(color)) { for (Iterator i = ((List) byColor.get(color)).iterator(); i.hasNext(); ) { int[] ids = (int[]) i.next(); %>  
<% } } %>
 
<% color = "yellow"; if (byColor.containsKey(color)) { for (Iterator i = ((List) byColor.get(color)).iterator(); i.hasNext(); ) { int[] ids = (int[]) i.next(); %>  
<% } } %>
 
<% color = "green"; if (byColor.containsKey(color)) { for (Iterator i = ((List) byColor.get(color)).iterator(); i.hasNext(); ) { int[] ids = (int[]) i.next(); %>  
<% } } %>
 
<% color = "blue"; if (byColor.containsKey(color)) { for (Iterator i = ((List) byColor.get(color)).iterator(); i.hasNext(); ) { int[] ids = (int[]) i.next(); %>  
<% } } %>
 
<% color = "indigo"; if (byColor.containsKey(color)) { for (Iterator i = ((List) byColor.get(color)).iterator(); i.hasNext(); ) { int[] ids = (int[]) i.next(); %>  
<% } } %>
 
<% color = "violet"; if (byColor.containsKey(color)) { for (Iterator i = ((List) byColor.get(color)).iterator(); i.hasNext(); ) { int[] ids = (int[]) i.next(); %>  
<% } } %>

<% if (!submit) { %>

*HUMAN SURVEY DATA COLLECTION*

Please contribute to the evolution of the Reimaginings Prism Engine (tm) by filling out this brief survey.
Correlation of Nm-<%=today.getTime() %> spectrum to rSpectrum 2.0(Ideal):
1 2 3 4 5 6 7
(1 - Strong, 7 - Weak)
Perfection Index:
(rXNCRel - Newtonian Correspondance Relevancy)
Perfect Not perfect
How do you feel about Nm-<%=today.getTime() %> spectrum above?
(rXPsychIDX - Inner emotional state):
Good Bad
Qualitative comments:
<%}%>

*HUMAN SURVEY DATA COLLECTION RESULTS*

<% for (int i= rankings.size() - 1; i >= 0; i-- ) { Ranking ranking = (Ranking)rankings.get(i); %>

HDCSR-<%= ranking.getId()%>

Date Collected: <%= ranking.date_posted%>

Human Subject ID: <%= ranking.posted_by%>

Correlation Index: <%= ranking.ranking1%>

Perfection Index (rXNCRel): <%= ranking.ranking2%> <%= ranking.ranking2 == 0 ? "(Not perfect)" : ranking.ranking2 == 1 ? "(Perfect)" : "(unanswered)"%>

Psychological Index (rXPsychIDX): <%= ranking.ranking3%> <%= ranking.ranking3 == 0 ? "(Bad)" : ranking.ranking3 == 1 ? "(Good)" : "(unanswered)"%>

Input: <%= ranking.comments%>


<% } %>