/// Define a testing scenario. pubstruct Scenario { /// Name of the scenario. pub name: String, /// Number of resources. pub width: usize, /// Number of sources. pub depth: usize, /// Vector of resources, containing a vector of sources, with true indicating /// whether the resource is present in that source. pub values: Vec<Vec<bool>>, /// Vector of solutions, each containing a vector of resources, with the index /// indicating from which source the resource is chosen. /// TODO(issue#17): This field is currently unused! pub solutions: Vec<Vec<usize>>,
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.