Uses of Class
edu.iu.cnets.klatsch.lang.Value

Packages that use Value
edu.iu.cnets.klatsch.expression   
edu.iu.cnets.klatsch.feed   
edu.iu.cnets.klatsch.lang   
edu.iu.cnets.klatsch.pane   
edu.iu.cnets.klatsch.stream   
 

Uses of Value in edu.iu.cnets.klatsch.expression
 

Methods in edu.iu.cnets.klatsch.expression that return Value
 Value EModulus.evaluate(Runtime rt)
           
 Value EDo.evaluate(Runtime rt)
           
 Value EAnd.evaluate(Runtime rt)
           
 Value ERelational.evaluate(Runtime rt)
           
 Value EAdd.evaluate(Runtime rt)
           
 Value EString.evaluate(Runtime rt)
           
 Value EWhile.evaluate(Runtime rt)
           
 Value EAssign.evaluate(Runtime rt)
           
 Value EDictionary.evaluate(Runtime rt)
           
abstract  Value Expression.evaluate(Runtime rt)
           
 Value ECallMethod.evaluate(Runtime rt)
           
 Value ENumber.evaluate(Runtime rt)
           
 Value ECall.evaluate(Runtime rt)
           
 Value EProcedure.evaluate(Runtime rt)
           
 Value EDivide.evaluate(Runtime rt)
           
 Value EOr.evaluate(Runtime rt)
           
 Value EList.evaluate(Runtime rt)
           
 Value EIf.evaluate(Runtime rt)
           
 Value EFor.evaluate(Runtime rt)
           
 Value EParen.evaluate(Runtime rt)
           
 Value ESubtract.evaluate(Runtime rt)
           
 Value ENot.evaluate(Runtime rt)
           
 Value EPower.evaluate(Runtime rt)
           
 Value ENegate.evaluate(Runtime rt)
           
 Value EMultiply.evaluate(Runtime rt)
           
 Value ELValue.evaluate(Runtime rt)
           
 Value EBlock.evaluate(Runtime rt)
           
 Value Expression.evaluateToClass(Runtime rt, java.lang.Class<?> type)
          The method is used to require that the expression evaluate to a particular data type.
 

Methods in edu.iu.cnets.klatsch.expression with parameters of type Value
 void ELValue.set(Runtime rt, Value value)
          Sets the location to the given value.
 

Uses of Value in edu.iu.cnets.klatsch.feed
 

Constructors in edu.iu.cnets.klatsch.feed with parameters of type Value
Buzz(Value... ls)
          Creates a new object for connecting to the Buzz database.
Random(Value[] args)
          Initializes a new Random feed.
Truthy(Value... ls)
          Creates a new object for connecting to the Truthy database.
 

Uses of Value in edu.iu.cnets.klatsch.lang
 

Subclasses of Value in edu.iu.cnets.klatsch.lang
 class VBoolean
          I think you can probably guess the two possible values of this class.
 class VClosure
          This value represents a closure, a user-defined procedure that captures any free variables and can be invoked.
 class VDictionary
          This value represents a dictionary (i.e., associative array).
 class VEdge
          This makes Edge values from the model a first-class value in Klatsch.
 class VEvent
          This makes Event values from the model a first-class value in Klatsch.
 class VFeed
          This makes Feed values from the model a first-class value in Klatsch.
 class VGraph
          This value type encapsulates a graph object.
 class VList
          This value represents a list (i.e., a one-dimensional array).
 class VNode
          This makes Node values from the model a first-class value in Klatsch.
 class VNull
          The null value.
 class VNumber
          Both numeric and floating-point values are subsumed into this class.
 class VPane
          This makes Pane objects in the GUI a first-class value in Klatsch, enabling manipulation, export, and other cool things.
 class VPrimitive
          This class encapsulates primitive functions.
 class VProperty
          This class encapsulates "properties", which are wrappers around methods contained in the subclasses of Pane.
 class VQueue
          This value represents a queue (i.e.
 class VStack
          This value represents a push-down stack (i.e., LIFO).
 class VStream
          This is the language-level encapsulation of a stream.
 class VString
          String values.
 

Fields in edu.iu.cnets.klatsch.lang declared as Value
 Value[] VList.ls
          the values actually being stored
 

Fields in edu.iu.cnets.klatsch.lang with type parameters of type Value
(package private)  java.util.Map<java.lang.String,Value> Runtime.env
           
(package private)  java.util.Map<VString,Value> VDictionary.map
          our actual storage mechanism
(package private)  java.util.Queue<Value> VQueue.q
          the values actually being stored
(package private)  java.util.Stack<Value> VStack.s
          the values actually being stored
 

Methods in edu.iu.cnets.klatsch.lang that return Value
 Value VProperty.apply(Value... args)
          Invoke the property for which we were instantiated.
 Value Callable.apply(Value... args)
           
 Value VClosure.apply(Value... args)
          Invokes the procedure with the given values as parameters.
 Value VPrimitive.apply(Value... args)
          Invoke the primitive for which we were instantiated.
 Value Runtime.get(java.lang.String id)
          Returns the value of the given variable.
 Value VNode.method_actor(Value... args)
          actor() : Returns true if this is an actor node.
 Value VFeed.method_actorevents(Value... args)
          actorevents(n) : Returns stream of events for the actor with the given ID.
 Value VGraph.method_actorgraph(Value... args)
          actorgraph() : Returns the actor-only subgraph.
 Value VFeed.method_actorid(Value... args)
          actorid(s) : Returns the ID of the actor with the given label.
 Value VFeed.method_actorlabel(Value... args)
          actorlabel(n) : Returns the label of the actor with ID n.
 Value VGraph.method_actormemegraph(Value... args)
          actormemegraph() : Returns the actor-meme (bipartite) subgraph.
 Value VGraph.method_add(Value... args)
          add(e) : Adds the given edge to the graph.
 Value VString.method_cap(Value... args)
          cap() : Capitalizes the first letter of the string.
 Value VGraph.method_cc(Value... args)
          cc() : Returns the mean clustering coefficient.
 Value VGraph.method_comp_count(Value... args)
          comp_count() : Returns the number of connected components.
 Value VGraph.method_comp_size(Value... args)
          comp_size() : Returns a list containing the size of each connected component.
 Value VGraph.method_comp(Value... args)
          comp(n) : Returns component #n in the graph.
 Value VFeed.method_connect(Value... args)
          connect() : Attempts to connect to the feed.
 Value VString.method_contains(Value... args)
          contains(s) : Tests whether the string contains s.
 Value VStream.method_current(Value... args)
          current() : Returns the current value in the stream.
 Value VDictionary.method_delete(Value... args)
          delete(s) : Removes any association for s.
 Value VQueue.method_deq(Value... args)
          deq() : Dequeue the head element from the queue.
 Value VGraph.method_diameter(Value... args)
          diameter() : Returns the graph diameter.
 Value VEdge.method_dst(Value... args)
          dst() : Returns the destination node for this edge.
 Value VGraph.method_e(Value... args)
          e() : Returns the number of edges in the graph.
 Value VEdge.method_e(Value... args)
          e() : Returns the ending timestamp for this edge.
 Value VEvent.method_edges(Value... args)
          edges() : Returns a stream of edges in this event.
 Value VGraph.method_edges(Value... args)
          edges() : Returns a stream of edges in the graph.
 Value VGraph.method_ei(Value... args)
          ei(n) : Returns a stream of edges with node n as a destination.
 Value VStack.method_empty(Value... args)
          empty() : Returns true if the stack is empty.
 Value VQueue.method_empty(Value... args)
          empty() : Returns true if the queue is empty.
 Value VQueue.method_enq(Value... args)
          enq(v) : Enqueues the value v to the end of the queue.
 Value VGraph.method_eo(Value... args)
          eo(n) : Returns a stream of edges with node n as a source.
 Value VGraph.method_export(Value... args)
          export(s1, s2) : Exports the graph to file s1, using format s2.
 Value VList.method_filter(Value... args)
          filter(p) : Returns the members of the list for which p is true.
 Value VStream.method_filter(Value... args)
          filter(p) : Applies a procedure filter to the stream, yielding a new stream.
 Value VList.method_get(Value... args)
          get(n) : Returns element n from the list.
 Value VGraph.method_get(Value... args)
          get(e) : Returns edge e from the graph.
 Value VDictionary.method_get(Value... args)
          get(s) : Returns the value associated with s.
 Value VStream.method_get(Value... args)
          get() : Returns the next item in the stream.
 Value VGraph.method_has(Value... args)
          has(e) : Returns true if edge e is in the graph.
 Value VDictionary.method_has(Value... args)
          has(s) : Returns true if the dictionary has an association for s.
 Value VNode.method_id(Value... args)
          id() : Returns the ID of the node.
 Value VPane.method_id(Value... args)
          id() : Returns the ID of the pane.
 Value VList.method_join(Value... args)
          join(ls) : Creates a new list containing the combination of this list and ls.
 Value VDictionary.method_keys(Value... args)
          keys() : Returns a stream of keys for the dictionary.
 Value VGraph.method_ki(Value... args)
          ki(n) : Returns the in-degree of node n.
 Value VGraph.method_kipower(Value... args)
          kipower() : Returns a power-law fit for the in-degree.
 Value VGraph.method_ko(Value... args)
          ko(n) : Returns the out-degree of node n.
 Value VGraph.method_kopower(Value... args)
          kopower() : Returns a power-law fit for the out-degree.
 Value VGraph.method_layout(Value... args)
          layout() : Performs a layout operation using default parameters.
 Value VStack.method_len(Value... args)
          len() : Returns the length of the stack.
 Value VList.method_len(Value... args)
          len() : Returns the length of the list.
 Value VString.method_len(Value... args)
          len() : Returns the length of the string.
 Value VQueue.method_len(Value... args)
          len() : Returns the length of the queue.
 Value VStream.method_limit(Value... args)
          limit(n) : Wrap the stream in a limited-element stream.
 Value VStack.method_list(Value... args)
          list() : Converts the stack to a list.
 Value VString.method_list(Value... args)
          list() : Converts the string into a list of single-character substrings.
 Value VStream.method_list(Value... args)
          list() : Converts the stream into a list.
 Value VQueue.method_list(Value... args)
          list() : Converts the queue to a list.
 Value VString.method_lower(Value... args)
          lower() : Returns the lowercase version of the string.
 Value VList.method_map(Value... args)
          map(p) : Returns the list obtained by calling p on each element.
 Value VStream.method_map(Value... args)
          map(p) : Applies a procedural mapping to the stream, yielding a new stream.
 Value VString.method_matches(Value... args)
          s.matches(r) : Tests whether the string matches r.
 Value VList.method_max_index(Value... args)
          max_index : Returns the index of the largest element in the list.
 Value VList.method_max(Value... args)
          max : Returns the largest element in the list.
 Value VList.method_mean(Value... args)
          mean : Returns the mean of the values in the list.
 Value VNode.method_meme(Value... args)
          meme() : Returns true if this is a meme node.
 Value VFeed.method_memeevents(Value... args)
          memeevents(n) : Returns stream of events for the meme with the given ID.
 Value VGraph.method_memegraph(Value... args)
          memegraph() : Returns the meme-only subgraph.
 Value VFeed.method_memeid(Value... args)
          memeid(s) : Returns the ID of the meme with the given label.
 Value VFeed.method_memelabel(Value... args)
          memelabel(n) : Returns the label of the meme with ID n.
 Value VFeed.method_memelinks(Value... args)
          memelinks(n) : Returns memes linked to the meme with the given ID.
 Value VList.method_min_index(Value... args)
          min_index : Returns the index of the smallest element in the list.
 Value VList.method_min(Value... args)
          min : Returns the smallest element in the list.
 Value VGraph.method_modularity(Value... args)
          modularity(): Returns the modularity measure.
 Value VGraph.method_n(Value... args)
          n() : Returns the number of nodes in the graph.
 Value VFeed.method_name(Value... args)
          name() : Returns the name of the feed.
 Value VPane.method_name(Value... args)
          name() : Returns the name of the pane.
 Value VGraph.method_ni(Value... args)
          ni() : Returns the number of destination nodes in the graph.
 Value VGraph.method_no(Value... args)
          no() : Returns the number of source nodes in the graph.
 Value VGraph.method_nodes(Value... args)
          nodes() : Returns a stream of nodes in the graph.
 Value VString.method_num(Value... args)
          num() : Returns a numeric version of the string.
 Value VGraph.method_pathlength(Value... args)
          pathlength() : Returns the mean path length.
 Value VStack.method_peek(Value... args)
          peek() : Returns the top element without popping it.
 Value VQueue.method_peek(Value... args)
          peek() : Returns the head elements without dequeuing it.
 Value VStack.method_pop(Value... args)
          pop() : Remove and return the top element in the stack.
 Value VPane.method_prop(Value... args)
          prop(s) : Returns the property with the given name
 Value VStack.method_push(Value... args)
          push(v) : Pushes the value v onto the top of the stack.
 Value VList.method_reduce(Value... args)
          reduce(p, acc) : Reduces the list to a single value by repeating acc = p(x, acc) for each x in the list.
 Value VStream.method_reduce(Value... args)
          reduce(p, acc) : Applies a reduction to the stream, yielding a new stream.
 Value VEdge.method_s(Value... args)
          s() : Returns the starting timestamp for this edge.
 Value VList.method_set(Value... args)
          set(n, v) : Sets element n to the value v.
 Value VDictionary.method_set(Value... args)
          set(s, v) : Associates s with the value v, replacing any existing association.
 Value VGraph.method_si(Value... args)
          si(n) : Returns the in-strength of node n.
 Value VList.method_skew(Value... args)
          skew : Returns the skew of the values in the list.
 Value VList.method_slice(Value... args)
          slice(n1, n2) : Returns the slice of elements from ls[n1] to ls[n2], inclusive.
 Value VGraph.method_so(Value... args)
          so(n) : Returns the out-strength of node n.
 Value VList.method_sort(Value... args)
          sort() : Sorts the numeric list in-place and returns it as a value.
 Value VString.method_split(Value... args)
          split(r, {n}) : Returns the string as split by the regex r (limit of n pieces).
 Value VEdge.method_src(Value... args)
          src() : Returns the source node for this edge.
 Value VList.method_std(Value... args)
          std : Returns the standard deviation of the values in the list.
 Value VNumber.method_str(Value... args)
          n.str() : Convert the number to a string.
 Value VStack.method_stream(Value... args)
          stream() : Converts the stack to a stream.
 Value VList.method_stream(Value... args)
          stream() : Converts the list to a stream.
 Value VClosure.method_stream(Value... args)
          stream() : Turns this zero-argument closure into a (infinite) stream.
 Value VQueue.method_stream(Value... args)
          stream() : Converts the queue to a stream.
 Value VString.method_substr(Value... args)
          substr(n1, {n2}) : Returns the substring from n1 to n2-1 or from n1 to the end.
 Value VList.method_sum(Value... args)
          sum : Returns the sum of the values of the list.
 Value VEvent.method_time(Value... args)
          time() : Returns the timestamp for this event.
 Value VString.method_trim(Value... args)
          trim() : Strips leading and trailing whitespace from the string.
 Value VEdge.method_trust(Value... args)
          trust() : Returns the trusted weight of the edge.
 Value VGraph.method_trusted(Value... args)
          trusted() : Returns the trusted subgraph.
 Value VFeed.method_update_trust(Value... args)
          update(g) : Applies this feed's updateTrust() rules to the given graph.
 Value VString.method_upper(Value... args)
          upper() : Returns the uppercase version of the string.
 Value VDictionary.method_values(Value... args)
          values() : Returns a stream of values for the dictionary.
 Value VEdge.method_w(Value... args)
          w() : Returns the total weight of the edge.
 Value VPrimitive.prim_abs(Value... args)
          abs(n) : Returns the absolute value of n.
 Value VPrimitive.prim_acos(Value... args)
          acos(n) : Returns the arc cosine (in radians) of n.
 Value VPrimitive.prim_anode(Value... args)
          anode(n) : Creates a new actor node with ID n.
 Value VPrimitive.prim_asin(Value... args)
          asin(n) : Returns the arc sine (in radians) of n.
 Value VPrimitive.prim_atan(Value... args)
          atan(n) : Returns the arc tangent (in radians) of n.
 Value VPrimitive.prim_atan2(Value... args)
          atan2(y, x) : Returns the arc tangent (in radians) of the value y/x.
 Value VPrimitive.prim_bench(Value... args)
          bench(p) : Evaluates the given thunk for timing information.
 Value VPrimitive.prim_ceil(Value... args)
          ceil(n) : Returns the ceiling of n.
 Value VPrimitive.prim_cos(Value... args)
          cos(n) : Returns the cosine of n, with n in radians.
 Value VPrimitive.prim_edge(Value... args)
          edge(n1, n2) : Creates a new edge from node n1 to node n2 (when = now, weight = 1).
 Value VPrimitive.prim_exec(Value... args)
          exec(s) : Executes a script in the current environment.
 Value VPrimitive.prim_exit(Value... args)
          exit() : Exits the Klatsch interpreter.
 Value VPrimitive.prim_exp(Value[] args)
          exp(n) : Returns e^n.
 Value VPrimitive.prim_feed(Value... args)
          feed(s) : Returns a new feed of type s, using default values.
 Value VPrimitive.prim_floor(Value... args)
          floor(n) : Returns the floor of n.
 Value VPrimitive.prim_graph(Value... args)
          graph() : Creates a new graph.
 Value VPrimitive.prim_grapher(Value... args)
          grapher(n, p) : Creates a new Erdos-Renyi random graph with n nodes and edge probability p.
 Value VPrimitive.prim_json(Value... args)
          json(v) : Returns a JSON-parsable version of the given value.
 Value VPrimitive.prim_list(Value... args)
          list(n) : Returns a list pre-allocated to have n slots.
 Value VPrimitive.prim_log(Value... args)
          log(n) : Returns log base e of n.
 Value VPrimitive.prim_log10(Value... args)
          log10(n) : Returns log base 10 of n.
 Value VPrimitive.prim_mnode(Value... args)
          mnode(n) : Creates a new meme node with ID n.
 Value VPrimitive.prim_pane(Value... args)
          pane(s) : Returns a new pane of type s, using default values.
 Value VPrimitive.prim_print_err(Value... args)
          print_err(v1, ...) : Prints v1, ...
 Value VPrimitive.prim_print(Value... args)
          print(v1, ...) : Prints v1, ...
 Value VPrimitive.prim_println_err(Value... args)
          println_err(v1, ...) : Prints v1, ..., and a newline to the error console.
 Value VPrimitive.prim_println(Value... args)
          println(v1, ...) : Prints v1, ..., and a newline to the console.
 Value VPrimitive.prim_queue(Value... args)
          queue() : Returns a new, empty queue.
 Value VPrimitive.prim_random(Value... args)
          random() : Returns a random number between 0 and 1.
 Value VPrimitive.prim_range(Value... args)
          range(end) : Returns a stream ranging from 1 to end, inclusive range(start, end) : Returns a stream ranging from start to end, inclusive range(start, end, step) : Returns a stream ranging from start to end, stepping by step.
 Value VPrimitive.prim_round(Value... args)
          round(n) : Returns the result of rounding n to the nearest integer.
 Value VPrimitive.prim_sign(Value... args)
          sign(n) : Returns the sign of n (-1, 0, or 1).
 Value VPrimitive.prim_sin(Value... args)
          sin(n) : Returns the sine of n, with n in radians.
 Value VPrimitive.prim_sqrt(Value... args)
          sqrt(n) : Returns the square root of n.
 Value VPrimitive.prim_stack(Value... args)
          stack() : Returns a new, empty stack.
 Value VPrimitive.prim_tan(Value... args)
          tan(n) : Returns the tangent of n, with n in radians.
 Value VPrimitive.prim_test(Value... args)
          test() : General-purpose testing primitive for the feature du jour.
 Value Value.requireType(java.lang.Class<?>... type)
          Requires this value to be a member of one of the given subclasses.
 

Methods in edu.iu.cnets.klatsch.lang that return types with arguments of type Value
(package private)  java.util.Comparator<Value> VList.getComparator()
          Returns a comparator for sorting numeric values, in support of the sort() method.
(package private)  java.util.Comparator<Value> VList.getComparator(VClosure proc)
          Returns a comparator for sorting numeric value using a user-supplied procedure, in support of the sort(p) method.
 

Methods in edu.iu.cnets.klatsch.lang with parameters of type Value
 Value VProperty.apply(Value... args)
          Invoke the property for which we were instantiated.
 Value Callable.apply(Value... args)
           
 Value VClosure.apply(Value... args)
          Invokes the procedure with the given values as parameters.
 Value VPrimitive.apply(Value... args)
          Invoke the primitive for which we were instantiated.
 Runtime Runtime.extend(java.lang.String[] idList, Value[] valList)
          Extends this environment with multiple ID and value bindings.
 Runtime Runtime.extend(java.lang.String id, Value val)
          Extends this environment with a single ID/value binding.
 Value VNode.method_actor(Value... args)
          actor() : Returns true if this is an actor node.
 Value VFeed.method_actorevents(Value... args)
          actorevents(n) : Returns stream of events for the actor with the given ID.
 Value VGraph.method_actorgraph(Value... args)
          actorgraph() : Returns the actor-only subgraph.
 Value VFeed.method_actorid(Value... args)
          actorid(s) : Returns the ID of the actor with the given label.
 Value VFeed.method_actorlabel(Value... args)
          actorlabel(n) : Returns the label of the actor with ID n.
 Value VGraph.method_actormemegraph(Value... args)
          actormemegraph() : Returns the actor-meme (bipartite) subgraph.
 Value VGraph.method_add(Value... args)
          add(e) : Adds the given edge to the graph.
 Value VString.method_cap(Value... args)
          cap() : Capitalizes the first letter of the string.
 Value VGraph.method_cc(Value... args)
          cc() : Returns the mean clustering coefficient.
 Value VGraph.method_comp_count(Value... args)
          comp_count() : Returns the number of connected components.
 Value VGraph.method_comp_size(Value... args)
          comp_size() : Returns a list containing the size of each connected component.
 Value VGraph.method_comp(Value... args)
          comp(n) : Returns component #n in the graph.
 Value VFeed.method_connect(Value... args)
          connect() : Attempts to connect to the feed.
 Value VString.method_contains(Value... args)
          contains(s) : Tests whether the string contains s.
 Value VStream.method_current(Value... args)
          current() : Returns the current value in the stream.
 Value VDictionary.method_delete(Value... args)
          delete(s) : Removes any association for s.
 Value VQueue.method_deq(Value... args)
          deq() : Dequeue the head element from the queue.
 Value VGraph.method_diameter(Value... args)
          diameter() : Returns the graph diameter.
 VBoolean VStream.method_done(Value... args)
          done() : Tests whether we're at the end of the stream.
 Value VEdge.method_dst(Value... args)
          dst() : Returns the destination node for this edge.
 Value VGraph.method_e(Value... args)
          e() : Returns the number of edges in the graph.
 Value VEdge.method_e(Value... args)
          e() : Returns the ending timestamp for this edge.
 Value VEvent.method_edges(Value... args)
          edges() : Returns a stream of edges in this event.
 Value VGraph.method_edges(Value... args)
          edges() : Returns a stream of edges in the graph.
 Value VGraph.method_ei(Value... args)
          ei(n) : Returns a stream of edges with node n as a destination.
 Value VStack.method_empty(Value... args)
          empty() : Returns true if the stack is empty.
 Value VQueue.method_empty(Value... args)
          empty() : Returns true if the queue is empty.
 Value VQueue.method_enq(Value... args)
          enq(v) : Enqueues the value v to the end of the queue.
 Value VGraph.method_eo(Value... args)
          eo(n) : Returns a stream of edges with node n as a source.
 Value VGraph.method_export(Value... args)
          export(s1, s2) : Exports the graph to file s1, using format s2.
 Value VList.method_filter(Value... args)
          filter(p) : Returns the members of the list for which p is true.
 Value VStream.method_filter(Value... args)
          filter(p) : Applies a procedure filter to the stream, yielding a new stream.
 Value VList.method_get(Value... args)
          get(n) : Returns element n from the list.
 Value VGraph.method_get(Value... args)
          get(e) : Returns edge e from the graph.
 Value VDictionary.method_get(Value... args)
          get(s) : Returns the value associated with s.
 Value VStream.method_get(Value... args)
          get() : Returns the next item in the stream.
 Value VGraph.method_has(Value... args)
          has(e) : Returns true if edge e is in the graph.
 Value VDictionary.method_has(Value... args)
          has(s) : Returns true if the dictionary has an association for s.
 Value VNode.method_id(Value... args)
          id() : Returns the ID of the node.
 Value VPane.method_id(Value... args)
          id() : Returns the ID of the pane.
 Value VList.method_join(Value... args)
          join(ls) : Creates a new list containing the combination of this list and ls.
 Value VDictionary.method_keys(Value... args)
          keys() : Returns a stream of keys for the dictionary.
 Value VGraph.method_ki(Value... args)
          ki(n) : Returns the in-degree of node n.
 Value VGraph.method_kipower(Value... args)
          kipower() : Returns a power-law fit for the in-degree.
 Value VGraph.method_ko(Value... args)
          ko(n) : Returns the out-degree of node n.
 Value VGraph.method_kopower(Value... args)
          kopower() : Returns a power-law fit for the out-degree.
 Value VGraph.method_layout(Value... args)
          layout() : Performs a layout operation using default parameters.
 Value VStack.method_len(Value... args)
          len() : Returns the length of the stack.
 Value VList.method_len(Value... args)
          len() : Returns the length of the list.
 Value VString.method_len(Value... args)
          len() : Returns the length of the string.
 Value VQueue.method_len(Value... args)
          len() : Returns the length of the queue.
 Value VStream.method_limit(Value... args)
          limit(n) : Wrap the stream in a limited-element stream.
 Value VStack.method_list(Value... args)
          list() : Converts the stack to a list.
 Value VString.method_list(Value... args)
          list() : Converts the string into a list of single-character substrings.
 Value VStream.method_list(Value... args)
          list() : Converts the stream into a list.
 Value VQueue.method_list(Value... args)
          list() : Converts the queue to a list.
 Value VString.method_lower(Value... args)
          lower() : Returns the lowercase version of the string.
 Value VList.method_map(Value... args)
          map(p) : Returns the list obtained by calling p on each element.
 Value VStream.method_map(Value... args)
          map(p) : Applies a procedural mapping to the stream, yielding a new stream.
 Value VString.method_matches(Value... args)
          s.matches(r) : Tests whether the string matches r.
 Value VList.method_max_index(Value... args)
          max_index : Returns the index of the largest element in the list.
 Value VList.method_max(Value... args)
          max : Returns the largest element in the list.
 Value VList.method_mean(Value... args)
          mean : Returns the mean of the values in the list.
 Value VNode.method_meme(Value... args)
          meme() : Returns true if this is a meme node.
 Value VFeed.method_memeevents(Value... args)
          memeevents(n) : Returns stream of events for the meme with the given ID.
 Value VGraph.method_memegraph(Value... args)
          memegraph() : Returns the meme-only subgraph.
 Value VFeed.method_memeid(Value... args)
          memeid(s) : Returns the ID of the meme with the given label.
 Value VFeed.method_memelabel(Value... args)
          memelabel(n) : Returns the label of the meme with ID n.
 Value VFeed.method_memelinks(Value... args)
          memelinks(n) : Returns memes linked to the meme with the given ID.
 Value VList.method_min_index(Value... args)
          min_index : Returns the index of the smallest element in the list.
 Value VList.method_min(Value... args)
          min : Returns the smallest element in the list.
 Value VGraph.method_modularity(Value... args)
          modularity(): Returns the modularity measure.
 VBoolean VStream.method_more(Value... args)
          more() : Tests if there are more values to read.
 Value VGraph.method_n(Value... args)
          n() : Returns the number of nodes in the graph.
 Value VFeed.method_name(Value... args)
          name() : Returns the name of the feed.
 Value VPane.method_name(Value... args)
          name() : Returns the name of the pane.
 Value VGraph.method_ni(Value... args)
          ni() : Returns the number of destination nodes in the graph.
 Value VGraph.method_no(Value... args)
          no() : Returns the number of source nodes in the graph.
 Value VGraph.method_nodes(Value... args)
          nodes() : Returns a stream of nodes in the graph.
 Value VString.method_num(Value... args)
          num() : Returns a numeric version of the string.
 Value VGraph.method_pathlength(Value... args)
          pathlength() : Returns the mean path length.
 Value VStack.method_peek(Value... args)
          peek() : Returns the top element without popping it.
 Value VQueue.method_peek(Value... args)
          peek() : Returns the head elements without dequeuing it.
 Value VStack.method_pop(Value... args)
          pop() : Remove and return the top element in the stack.
 Value VPane.method_prop(Value... args)
          prop(s) : Returns the property with the given name
 Value VStack.method_push(Value... args)
          push(v) : Pushes the value v onto the top of the stack.
 Value VList.method_reduce(Value... args)
          reduce(p, acc) : Reduces the list to a single value by repeating acc = p(x, acc) for each x in the list.
 Value VStream.method_reduce(Value... args)
          reduce(p, acc) : Applies a reduction to the stream, yielding a new stream.
 Value VEdge.method_s(Value... args)
          s() : Returns the starting timestamp for this edge.
 Value VList.method_set(Value... args)
          set(n, v) : Sets element n to the value v.
 Value VDictionary.method_set(Value... args)
          set(s, v) : Associates s with the value v, replacing any existing association.
 Value VGraph.method_si(Value... args)
          si(n) : Returns the in-strength of node n.
 Value VList.method_skew(Value... args)
          skew : Returns the skew of the values in the list.
 Value VList.method_slice(Value... args)
          slice(n1, n2) : Returns the slice of elements from ls[n1] to ls[n2], inclusive.
 Value VGraph.method_so(Value... args)
          so(n) : Returns the out-strength of node n.
 Value VList.method_sort(Value... args)
          sort() : Sorts the numeric list in-place and returns it as a value.
 Value VString.method_split(Value... args)
          split(r, {n}) : Returns the string as split by the regex r (limit of n pieces).
 Value VEdge.method_src(Value... args)
          src() : Returns the source node for this edge.
 Value VList.method_std(Value... args)
          std : Returns the standard deviation of the values in the list.
 Value VNumber.method_str(Value... args)
          n.str() : Convert the number to a string.
 Value VStack.method_stream(Value... args)
          stream() : Converts the stack to a stream.
 Value VList.method_stream(Value... args)
          stream() : Converts the list to a stream.
 Value VClosure.method_stream(Value... args)
          stream() : Turns this zero-argument closure into a (infinite) stream.
 Value VQueue.method_stream(Value... args)
          stream() : Converts the queue to a stream.
 Value VString.method_substr(Value... args)
          substr(n1, {n2}) : Returns the substring from n1 to n2-1 or from n1 to the end.
 Value VList.method_sum(Value... args)
          sum : Returns the sum of the values of the list.
 Value VEvent.method_time(Value... args)
          time() : Returns the timestamp for this event.
 Value VString.method_trim(Value... args)
          trim() : Strips leading and trailing whitespace from the string.
 Value VEdge.method_trust(Value... args)
          trust() : Returns the trusted weight of the edge.
 Value VGraph.method_trusted(Value... args)
          trusted() : Returns the trusted subgraph.
 Value VFeed.method_update_trust(Value... args)
          update(g) : Applies this feed's updateTrust() rules to the given graph.
 Value VString.method_upper(Value... args)
          upper() : Returns the uppercase version of the string.
 Value VDictionary.method_values(Value... args)
          values() : Returns a stream of values for the dictionary.
 Value VEdge.method_w(Value... args)
          w() : Returns the total weight of the edge.
 Value VPrimitive.prim_abs(Value... args)
          abs(n) : Returns the absolute value of n.
 Value VPrimitive.prim_acos(Value... args)
          acos(n) : Returns the arc cosine (in radians) of n.
 Value VPrimitive.prim_anode(Value... args)
          anode(n) : Creates a new actor node with ID n.
 Value VPrimitive.prim_asin(Value... args)
          asin(n) : Returns the arc sine (in radians) of n.
 Value VPrimitive.prim_atan(Value... args)
          atan(n) : Returns the arc tangent (in radians) of n.
 Value VPrimitive.prim_atan2(Value... args)
          atan2(y, x) : Returns the arc tangent (in radians) of the value y/x.
 Value VPrimitive.prim_bench(Value... args)
          bench(p) : Evaluates the given thunk for timing information.
 Value VPrimitive.prim_ceil(Value... args)
          ceil(n) : Returns the ceiling of n.
 Value VPrimitive.prim_cos(Value... args)
          cos(n) : Returns the cosine of n, with n in radians.
 Value VPrimitive.prim_edge(Value... args)
          edge(n1, n2) : Creates a new edge from node n1 to node n2 (when = now, weight = 1).
 Value VPrimitive.prim_exec(Value... args)
          exec(s) : Executes a script in the current environment.
 Value VPrimitive.prim_exit(Value... args)
          exit() : Exits the Klatsch interpreter.
 Value VPrimitive.prim_exp(Value[] args)
          exp(n) : Returns e^n.
 Value VPrimitive.prim_feed(Value... args)
          feed(s) : Returns a new feed of type s, using default values.
 Value VPrimitive.prim_floor(Value... args)
          floor(n) : Returns the floor of n.
 Value VPrimitive.prim_graph(Value... args)
          graph() : Creates a new graph.
 Value VPrimitive.prim_grapher(Value... args)
          grapher(n, p) : Creates a new Erdos-Renyi random graph with n nodes and edge probability p.
 Value VPrimitive.prim_json(Value... args)
          json(v) : Returns a JSON-parsable version of the given value.
 Value VPrimitive.prim_list(Value... args)
          list(n) : Returns a list pre-allocated to have n slots.
 Value VPrimitive.prim_log(Value... args)
          log(n) : Returns log base e of n.
 Value VPrimitive.prim_log10(Value... args)
          log10(n) : Returns log base 10 of n.
 Value VPrimitive.prim_mnode(Value... args)
          mnode(n) : Creates a new meme node with ID n.
 Value VPrimitive.prim_pane(Value... args)
          pane(s) : Returns a new pane of type s, using default values.
 Value VPrimitive.prim_print_err(Value... args)
          print_err(v1, ...) : Prints v1, ...
 Value VPrimitive.prim_print(Value... args)
          print(v1, ...) : Prints v1, ...
 Value VPrimitive.prim_println_err(Value... args)
          println_err(v1, ...) : Prints v1, ..., and a newline to the error console.
 Value VPrimitive.prim_println(Value... args)
          println(v1, ...) : Prints v1, ..., and a newline to the console.
 Value VPrimitive.prim_queue(Value... args)
          queue() : Returns a new, empty queue.
 Value VPrimitive.prim_random(Value... args)
          random() : Returns a random number between 0 and 1.
 Value VPrimitive.prim_range(Value... args)
          range(end) : Returns a stream ranging from 1 to end, inclusive range(start, end) : Returns a stream ranging from start to end, inclusive range(start, end, step) : Returns a stream ranging from start to end, stepping by step.
 Value VPrimitive.prim_round(Value... args)
          round(n) : Returns the result of rounding n to the nearest integer.
 Value VPrimitive.prim_sign(Value... args)
          sign(n) : Returns the sign of n (-1, 0, or 1).
 Value VPrimitive.prim_sin(Value... args)
          sin(n) : Returns the sine of n, with n in radians.
 Value VPrimitive.prim_sqrt(Value... args)
          sqrt(n) : Returns the square root of n.
 Value VPrimitive.prim_stack(Value... args)
          stack() : Returns a new, empty stack.
 Value VPrimitive.prim_tan(Value... args)
          tan(n) : Returns the tangent of n, with n in radians.
 Value VPrimitive.prim_test(Value... args)
          test() : General-purpose testing primitive for the feature du jour.
static void Value.requireCount(Value[] args, int minCount, int maxCount)
          Requires the given array of arguments to have between minCount and maxCount elements.
 void Runtime.set(java.lang.String id, Value value)
          Sets the value of the given variable as specified.
 void VDictionary.set(VString key, Value val)
          Updates the given association.
 

Constructors in edu.iu.cnets.klatsch.lang with parameters of type Value
VList(Value... ls)
           
 

Constructor parameters in edu.iu.cnets.klatsch.lang with type arguments of type Value
VQueue(java.util.Queue<Value> q)
           
VStack(java.util.Stack<Value> s)
           
 

Uses of Value in edu.iu.cnets.klatsch.pane
 

Methods in edu.iu.cnets.klatsch.pane that return Value
 Value Text.prop_contents(Value... args)
          Returns the contents of the buffer as a stream of strings.
 Value Text.prop_print(Value... args)
          Writes the given text to the buffer.
 Value Text.prop_println(Value... args)
          Writes the given text to the buffer and adds a newline.
 

Methods in edu.iu.cnets.klatsch.pane with parameters of type Value
 Value Text.prop_contents(Value... args)
          Returns the contents of the buffer as a stream of strings.
 Value Text.prop_print(Value... args)
          Writes the given text to the buffer.
 Value Text.prop_println(Value... args)
          Writes the given text to the buffer and adds a newline.
 

Constructors in edu.iu.cnets.klatsch.pane with parameters of type Value
Text(Value... ls)
          Creates a new text pane.
 

Uses of Value in edu.iu.cnets.klatsch.stream
 

Fields in edu.iu.cnets.klatsch.stream declared as Value
(package private)  Value Stream.buffer
          used to buffer a single item
 

Fields in edu.iu.cnets.klatsch.stream with type parameters of type Value
(package private)  java.lang.Class<? extends Value> SWrapperIterator.wrapperClass
           
 

Methods in edu.iu.cnets.klatsch.stream that return Value
 Value Stream.current()
          Returns the next value that would be returned by get().
 Value Stream.get()
          Reads the next value from the stream.
 Value SLimit.getNext()
          Gets the next value in the list, if possible.
 Value SEventIterator.getNext()
          Gets the next value in the list, if possible.
 Value SIterator.getNext()
          Gets the next value in the list, if possible.
abstract  Value Stream.getNext()
           
 Value SProcedure.getNext()
          Gets the next value in the list, if possible.
 Value SRange.getNext()
          Gets the next value in the list, if possible.
 Value SWrapperIterator.getNext()
          Gets the next value in the list, if possible.
 Value SList.getNext()
          Gets the next value in the list, if possible.
 

Constructor parameters in edu.iu.cnets.klatsch.stream with type arguments of type Value
SWrapperIterator(java.lang.Class<? extends Value> wrapperClass, java.util.Iterator<?> iter)
          Builds a new stream from the given iterator.