+struct _list_sched_selector_t {
+
+ /**
+ * Called before a graph is being scheduled.
+ * @param arch_env The architecture environment.
+ * @param irg The graph.
+ * @return The environment pointer that is passed to all other functions in this struct.
+ */
+ void *(*init_graph)(const list_sched_selector_t *vtab, const arch_env_t *arch_env, ir_graph *irg);
+
+ /**
+ * Called before scheduling starts on a block.
+ * @param graph_env The environment.
+ * @param block The block which is to be scheduled.
+ * @return A per-block pointer that is additionally passed to select.
+ */
+ void *(*init_block)(void *graph_env, ir_node *block);
+
+ /**
+ * The selection function.
+ * It picks one node out of the ready list to be scheduled next.
+ * The function does not have to delete the node from the ready set.
+ *
+ * @param block_env Some private information as returned by init_block().
+ * @param sched_head The schedule so far.
+ * @param ready_set A set containing all ready nodes. Pick one of these nodes.
+ * @param live_set A set containing all nodes currently alive.
+ * @return The chosen node.
+ */
+ ir_node *(*select)(void *block_env, nodeset *ready_set, nodeset *live_set);
+
+ /**
+ * This function decides, if a node should appear in a schedule.
+ * @param block_env The block environment.
+ * @param irn The node.
+ * @return 1, if the node should be scheduled, 0 if not.
+ */
+ int (*to_appear_in_schedule)(void *block_env, const ir_node *irn);
+
+ /**
+ * This function gets executed after a node finally has been made ready.
+ * @param block_env The block environment.
+ * @param irn The node made ready.
+ * @param pred The previously scheduled node.
+ */
+ void (*node_ready)(void *block_env, ir_node *irn, ir_node *pred);
+
+ /**
+ * This function gets executed after a node finally has been selected.
+ * @param block_env The block environment.
+ * @param irn The selected node.
+ */
+ void (*node_selected)(void *block_env, ir_node *irn);
+
+ /**
+ * Returns the execution time of node irn.
+ */
+ unsigned (*exectime)(void *block_env, const ir_node *irn);
+
+ /**
+ * Calculates the latency of executing cycle curr_cycle of node curr in cycle pred_cycle
+ * of node pred.
+ *
+ * @param block_env The block environment.
+ * @param pred The previous node.
+ * @param pred_cycle The previous node execution cycle.
+ * @param curr The current node.
+ * @param curr_cycle The current node execution cycle.
+ */
+ unsigned (*latency)(void *block_env, const ir_node *pred, int pred_cycle, const ir_node *curr, int curr_cycle);
+
+ /**
+ * Called after a block has been scheduled.
+ * @param env The environment.
+ * @param block_env The per block environment as returned by init_block().
+ */
+ void (*finish_block)(void *block_env);
+
+ /**
+ * Called after a whole graph has been scheduled.
+ * @param env The environment.
+ */
+ void (*finish_graph)(void *env);
+
+};