OR-Tools  9.3
cocktail_hour.cc File Reference

Go to the source code of this file.

Functions

 ABSL_FLAG (std::string, mode, "text", "One of \"text\", \"latex\", or \"analysis\".")
 
 ABSL_FLAG (int, num_ingredients, 10, "How many ingredients to buy (ignored in analysis mode).")
 
 ABSL_FLAG (std::vector< std::string >, existing_ingredients, {}, "Ingredients you already have (ignored in analysis mode).")
 
 ABSL_FLAG (std::vector< std::string >, unavailable_ingredients, {}, "Ingredients you cannot get (ignored in analysis mode).")
 
 ABSL_FLAG (std::vector< std::string >, required_cocktails, {}, "Cocktails you must be able to make (ignored in analysis mode).")
 
 ABSL_FLAG (std::vector< std::string >, blocked_cocktails, {}, "Cocktails to exclude from the menu (ignored in analysis mode).")
 
int main (int argc, char **argv)
 

Function Documentation

◆ ABSL_FLAG() [1/6]

ABSL_FLAG ( int  ,
num_ingredients  ,
10  ,
"How many ingredients to buy (ignored in analysis mode)."   
)

◆ ABSL_FLAG() [2/6]

ABSL_FLAG ( std::string  ,
mode  ,
"text"  ,
"One of \"text\"  ,
\"latex\"  ,
or \"analysis\"."   
)

◆ ABSL_FLAG() [3/6]

ABSL_FLAG ( std::vector< std::string >  ,
blocked_cocktails  ,
{}  ,
"Cocktails to exclude from the menu (ignored in analysis mode)."   
)

◆ ABSL_FLAG() [4/6]

ABSL_FLAG ( std::vector< std::string >  ,
existing_ingredients  ,
{}  ,
"Ingredients you already have (ignored in analysis mode)."   
)

◆ ABSL_FLAG() [5/6]

ABSL_FLAG ( std::vector< std::string >  ,
required_cocktails  ,
{}  ,
"Cocktails you must be able to make (ignored in analysis mode)."   
)

◆ ABSL_FLAG() [6/6]

ABSL_FLAG ( std::vector< std::string >  ,
unavailable_ingredients  ,
{}  ,
"Ingredients you cannot get (ignored in analysis mode)."   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 370 of file cocktail_hour.cc.