The bridges class is the main class that provides interfaces to datasets, maintains user and assignment information, and connects to the bridges server.
The bridges class is responsible for initializing the bridges system, specifying parameters (user id, assignment id, title, description, data structure type, etc) for the student assignment, generating the data structure representation and transmission to the bridges server. In addition, it provides interfaces to a number of real-world datasets, that makes it easy to access the data for use algorithms/data structure assignments.
Datasets. The datasets that are currently supported through the BRIDGES API include USGS Earthquake Data, IMDB Actor/Movie Data (2 versions), Gutenberg Book Collection Meta Data, a Video Game Dataset and Shakespeare Dataset. More information is found in the respective methods (below) and at
http://bridgesuncc.github.io/datasets.html
A typical bridges program includes creating the bridges object, followed by creation of the data structure by the user, assigning visual attributes to elements of the data structure, followed by specification of teh data structure type and the call to visualize the data structure (bridges::setDataStructure() and visualize() methods).
- Author
- Sean Gallagher, Kalpathi Subramanaian, Mihai Mehedint, David Burlinson, Matthew Mcquaigue
|
def | window (self) |
|
def | window |
|
def | __init__ (self, assignment, username, appl_id) |
| Bridges constructor. More...
|
|
def | set_data_structure (self, ds) |
|
def | set_visualize_JSON (self, flag) |
|
def | visualize (self) |
|
def | set_assignment (self, assignment) |
| Setter for assignment id (must be positive) More...
|
|
def | get_assignment (self) |
| Getter for the assignment id. More...
|
|
def | set_title (self, title) |
| Setter for the title of the bridges visualization. More...
|
|
def | set_description (self, description) |
| Setter for the description of the bridges visualization. More...
|
|
def | set_map_overlay (self, flag) |
| Setter for if the visualization will have a map overlay. More...
|
|
def | set_coord_system_type (self, coord) |
| Setter for the coordinate system type to use in the visualization. More...
|
|
def | get_color_grid_from_assignment |
| Reconstruct a ColorGrid from an existing ColorGrid on the bridges server. More...
|
|
def | set_username (self, username) |
| Setter for username (must be a string) More...
|
|
def | get_username (self) |
| Getter for the assignment user name (BRIDGES credentials) More...
|
|
def | get_assignment_id (self) |
| Getter for the assignment number. More...
|
|
def | set_key (self, apikey) |
| Setter for API Key (BRIDGES Credentials) More...
|
|
def | get_key (self) |
| Getter for the API key (BRIDGES credentials) More...
|
|