Stable Diffusion 模型下载:DreamShaper XL(梦想塑造者 XL)

在这里插入图片描述

本文收录于《AI绘画从入门到精通》专栏,专栏总目录:点这里。

文章目录

  • 模型介绍
  • 生成案例
    • 案例一
    • 案例二
    • 案例三
    • 案例四
    • 案例五
    • 案例六
    • 案例七
    • 案例八
    • 案例九
    • 案例十
  • 下载地址

模型介绍

DreamShaper 是一个分格多样的大模型,可以生成写实、原画、2.5D 等多种图片,能生成很棒的人像和风景图。

DreamShaper是一个通用的SD模型,旨在做好一切,照片,艺术,动漫,漫画。它的设计是为了对抗其他通用模型和管道,如Midjourney和DALL-E

条目内容
类型大模型
基础模型SDXL Turbo
来源CIVITAI
作者Lykon
文件名称dreamshaperXL_v2TurboDpmppSDE.safetensors
文件大小6.46GB

生成案例

案例一

在这里插入图片描述

In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art <lora:aesthetic_anime_v1s:1>
Negative prompt: ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck
Steps: 8, Size: 768x1216, Seed: 554464390, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.6, Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "In Casey Baugh's evocative style, art of a beautiful young girl cyborg with long brown hair, futuristic, scifi, intricate, elegant, highly detailed, majestic, Baugh's brushwork infuses the painting with a unique combination of realism and abstraction, greg rutkowski, surreal gold filigree, broken glass, (masterpiece, sidelighting, ADetailer version: 23.11.1, Denoising strength: 0.5, ADetailer CFG scale: 2.0, ADetailer mask blur: 7, ADetailer model 2nd: mediapipe_face_mesh_eyes_only, "aesthetic_anime_v1s: 96312f4032a9", ADetailer confidence: 0.3, ADetailer prompt 2nd: "Photo of a girl, cinematic film still, super saiyan", ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "ugly, deformed, noisy, blurry, low contrast, text, BadDream, 3d, cgi, render, fake, anime, open mouth, big forehead, long neck", ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.2, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer negative prompt 2nd: "BadDream, UnrealisticDream", finely detailed beautiful eyes: 1.2), hdr, realistic painting, natural skin, textured skin, closed mouth, crystal eyes, butterfly filigree, chest armor, eye makeup, robot joints, long hair moved by the wind, window facing to another world, Baugh's distinctive style captures the essence of the girl's enigmatic nature, inviting viewers to explore the depths of her soul, award winning art", ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1

案例二

在这里插入图片描述

cinematic film still, close up, photo of redheaded girl near grasses, fictional landscapes, (intense sunlight:1.4), realist detail, brooding mood, ue5, detailed character expressions, light amber and red, amazing quality, wallpaper, analog film grain
Negative prompt: (low quality, worst quality:1.4), cgi,  text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 768x1024, Seed: 3346112079, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.6, worst quality: 1.4), cgi,  text, signature, watermark, extra limbs", Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "cinematic film still, photo of a girl", ADetailer version: 23.11.1, Denoising strength: 0.52, ADetailer CFG scale: 2.0, ADetailer mask blur: 7, ADetailer model 2nd: hand_yolov8n.pt, ADetailer confidence: 0.3, ADetailer prompt 2nd: hand, ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.35, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1

案例三

在这里插入图片描述

anime style, 1girl, blunt bangs, high ponytail, silver hair, pointy ears, in the depths of a bioluminescent alien jungle, [evangelion:cyberpunk edgerunners:0.5], reflective transparent iridescent opaque clothing, long sleeves, flowing dress, long skirt, very aesthetic, highres, 4k, 8k, intricate detail, cinematic lighting, amazing quality, amazing shading, detailed Illustration, official artwork, wallpaper, official art, extremely detailed eyes and face, beautiful detailed eyes, from below, full body, thigh gap, <lora:aesthetic_anime_v1s:1>
Negative prompt: (low quality, worst quality:1.4), negativeXL_D, cgi, text, signature, watermark, extra limbs, holding dress
Steps: 8, RNG: CPU, Size: 1216x768, Seed: 1136711378, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, negativeXL_D: fff5d51ab655", "negativeXL_D: fff5d51ab655, Hires upscale: 1.4, worst quality: 1.4), negativeXL_D, cgi, text, signature, watermark, extra limbs, holding dress", Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "anime style, 1girl, blunt bangs, high ponytail, silver hair, pointy ears, in the depths of a bioluminescent alien jungle, ADetailer version: 23.11.1, Denoising strength: 0.45, ADetailer CFG scale: 2.0, ADetailer mask blur: 4, ADetailer model 2nd: mediapipe_face_mesh_eyes_only, aesthetic_anime_v1s: 1>", "aesthetic_anime_v1s: 96312f4032a9", ADetailer confidence: 0.3, ADetailer prompt 2nd: "Photo of a girl, cinematic film still, super saiyan", cyberpunk edgerunners: 0.5], reflective transparent iridescent opaque clothing, long sleeves, flowing dress, long skirt, very aesthetic, highres, 4k, 8k, intricate detail, cinematic lighting, amazing quality, amazing shading, detailed Illustration, official artwork, wallpaper, official art, extremely detailed eyes and face, beautiful detailed eyes, from below, full body, thigh gap, ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.33, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer negative prompt 2nd: "BadDream, UnrealisticDream", ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1

案例四

在这里插入图片描述

mysterious silhouette forest woman, by Minjae Lee, Carne Griffiths, Emily Kell, Geoffroy Thoorens, Aaron Horkey, Jordan Grimmer, Greg Rutkowski, amazing depth, masterwork, surreal, geometric patterns, intricately detailed, bokeh, perfect balanced, deep fine borders, artistic photorealism , smooth, great masterwork by head of prompt engineering <lora:add-detail-xl:2>
Negative prompt: boring,text,signature,logo,watermark,low quality, bad quality, loose artifacts, grainy, blurry, long neck, closed eyes, face jewellery
Steps: 10, Size: 768x1024, Seed: 939365161, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Model hash: 4726d3bab1, Hires steps: 15, Hires upscale: 1.6, "add-detail-xl: 9c783c8ce46c", Hires upscaler: Latent (bicubic antialiased), Denoising strength: 0.5

案例五

在这里插入图片描述

(masterpiece, best quality, ultra-detailed, best shadow), cinematic film still, photo of a man wearing a high tech scifi armor, mecha armor, male focus, armor, solo, facial hair, cape, beard, looking at viewer, blue eyes, blurry background, power armor, knee protection, standing, brown hair, science fiction  <lora:aesthetic_anime_v1s:1.2>
Negative prompt: (low quality, worst quality:1.4), cgi,  text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 768x1216, Seed: 2067885438, Model: DreamShaperXL_Turbo_v2, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, worst quality: 1.4), cgi,  text, signature, watermark, extra limbs", ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer prompt: "handsome face, perfect eyes", Denoising strength: 0.52, ADetailer mask blur: 4, ADetailer model 2nd: hand_yolov8n.pt, ADetailer confidence: 0.2, ADetailer prompt 2nd: hand, ADetailer dilate erode: 4, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer negative prompt 2nd: " (low quality, ADetailer mask only top k largest: 1

案例六

在这里插入图片描述

cinematic film still, close up, a robot woman stands tall, half-human half machine, amongst an ancient Greek gallery of paintings and marble, religious symbolism, quantum wavetracing, high fashion editorial, glsl shaders, semiconductors and electronic computer hardware, amazing quality, wallpaper, analog film grain, perfect face skin <lora:aesthetic_anime_v1s:1.1>
Negative prompt: (low quality, worst quality:1.4), cgi,  text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 768x1024, Seed: 2946499990, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.4, worst quality: 1.4), cgi,  text, signature, watermark, extra limbs", Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: mediapipe_face_mesh_eyes_only, ADetailer steps: 5, ADetailer prompt: "cinematic film still, a woman stands tall, half-human half machine, amongst an ancient Greek gallery of paintings and marble, religious symbolism, quantum wavetracing, high fashion editorial, glsl shaders, semiconductors and electronic computer hardware, amazing quality, ADetailer version: 23.11.1, Denoising strength: 0.52, ADetailer CFG scale: 2.0, ADetailer mask blur: 4, ADetailer model 2nd: hand_yolov8n.pt, aesthetic_anime_v1s: 1.1>", "aesthetic_anime_v1s: 96312f4032a9", ADetailer confidence: 0.25, ADetailer prompt 2nd: hand, ADetailer dilate erode: 4, ADetailer mask blur 2nd: 4, ADetailer confidence 2nd: 0.3, ADetailer inpaint padding: 32, ADetailer negative prompt: "(low quality, ADetailer dilate erode 2nd: 4, ADetailer denoising strength: 0.4, ADetailer use separate steps: True, ADetailer inpaint only masked: True, ADetailer inpaint padding 2nd: 32, ADetailer denoising strength 2nd: 0.4, ADetailer use separate CFG scale: True, ADetailer inpaint only masked 2nd: True, ADetailer mask only top k largest: 1

案例七

在这里插入图片描述

anime girl, night, blue light behind her,  ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance
Negative prompt: cgi, 3d render, bad quality, worst quality, text, signature, watermark, extra limbs,
Steps: 8, RNG: CPU, Size: 1024x768, Seed: 2084045070, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.5, Hires upscaler: 8x_NMKD-Superscale_150000_G, ADetailer model: face_yolov8n.pt, ADetailer prompt: "anime girl, night, blue light behind her,  ((Galaxy, Lens flare)), short hair, flower field, night sky, cinematic shot. Wallpaper. (Blue color schema), detailed background, a city in the distance", ADetailer version: 23.11.1, Denoising strength: 0.45, ADetailer mask blur: 4, ADetailer confidence: 0.2, ADetailer dilate erode: 4, ADetailer inpaint padding: 32, ADetailer negative prompt: "cgi, 3d render, bad quality, worst quality, text, signature, watermark, extra limbs,", ADetailer denoising strength: 0.37, ADetailer inpaint only masked: True

案例八

在这里插入图片描述

cinematic film still, close up, photo of a cute Pokémon, in the style of hyper-realistic fantasy,, sony fe 12-24mm f/2.8 gm, close up, 32k uhd, light navy and light amber, kushan empirem alluring, perfect skin, seductive, amazing quality, wallpaper, analog film grain <lora:aesthetic_anime_v1s:0.5>  <lora:add-detail-xl:1.1>
Negative prompt: Pikachu, (low quality, worst quality:1.4), cgi,  text, signature, watermark, extra limbs, ((nipples))
Steps: 8, RNG: CPU, Size: 1216x768, Seed: 1592846094, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.4, add-detail-xl: 9c783c8ce46c", Hires upscaler: 8x_NMKD-Superscale_150000_G, Denoising strength: 0.52, "aesthetic_anime_v1s: 96312f4032a9

案例九

在这里插入图片描述

masterpiece, best quality,
cinematic film still, realistic, portrait, solo, white mecha robot, cape, science fiction, torn clothes, glowing, standing, robot joints, mecha, armor, cowboy shot, (floating cape), intense sunlight, silver dragonborn, outdoors, landscape, nature
highres, 4k, 8k, intricate detail, cinematic lighting, amazing quality, wallpaper <lora:aesthetic_anime_v1s:1.1>
Negative prompt: nipples, (low quality, worst quality:1.4), cgi,  text, signature, watermark, extra limbs
Steps: 8, RNG: CPU, Size: 768x1024, Seed: 2067885437, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.4, Hires upscaler: 8x_NMKD-Superscale_150000_G, Denoising strength: 0.52, "aesthetic_anime_v1s: 96312f4032a9"

案例十

在这里插入图片描述

Photo of a girl,cinematic film still,super saiyan, full plate armor, ony fe 12-24mm f/2.8 gm, close up, 32k uhd, light navy and light amber, amazing quality, wallpaper, analog film grain
Negative prompt: (low quality, worst quality:1.4), cgi, text, signature, watermark, extra limbs,
Steps: 8, Size: 768x1024, Seed: 1850492237, Model: DreamShaperXL_Turbo_v2, Version: v1.6.1, Sampler: DPM++ SDE Karras, CFG scale: 2, Clip skip: 2, Model hash: 4726d3bab1, Hires steps: 5, Hires upscale: 1.5, Hires upscaler: 8x_NMKD-Superscale_150000_G, Denoising strength: 0.45, Token merging ratio: 0.3, Token merging ratio hr: 0.3

下载地址

链接:https://pan.quark.cn/s/c0326cada8dc
提取码:SKgx

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.rhkb.cn/news/258105.html

如若内容造成侵权/违法违规/事实不符,请联系长河编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

第80讲订单管理功能实现

后端 <?xml version"1.0" encoding"UTF-8" ?> <!DOCTYPE mapperPUBLIC "-//mybatis.org//DTD Mapper 3.0//EN""http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace"com.java1234.mapper.OrderM…

第9章 网络编程

9.1 网络通信协议 通过计算机网络可以实现多台计算机连接&#xff0c;但是不同计算机的操作系统和硬件体系结构不同&#xff0c;为了提供通信支持&#xff0c;位于同一个网络中的计算机在进行连接和通信时必须要遵守一定的规则&#xff0c;这就好比在道路中行驶的汽车一定要遵…

Redisson分布式锁 原理 + 运用 记录

Redisson 分布式锁 简单入门 pom <dependency><groupId>org.redisson</groupId><artifactId>redisson</artifactId><version>3.13.6</version></dependency>配置类 package com.hmdp.config;import org.redisson.Redisson;…

C语言第二十五弹---字符函数和字符串函数(上)

✨个人主页&#xff1a; 熬夜学编程的小林 &#x1f497;系列专栏&#xff1a; 【C语言详解】 【数据结构详解】 目录 1、字符分类函数 2、字符转换函数 3、strlen的使用和模拟实现 4、strcpy 的模拟实现 5、strcat 的模拟实现 6、strcmp 的模拟实现 7、strncpy 函数的使用 总结…

2024-02-08 Unity 编辑器开发之编辑器拓展1 —— 自定义菜单栏

文章目录 1 特殊文件夹 Editor2 在 Unity 菜单栏中添加自定义页签3 在 Hierarchy 窗口中添加自定义页签4 在 Project 窗口中添加自定义页签5 在菜单栏的 Component 菜单添加脚本6 在 Inspector 为脚本右键添加菜单7 加入快捷键8 小结 1 特殊文件夹 Editor ​ Editor 文件夹是 …

原型模式-Prototype Pattern

原文地址:https://jaune162.blog/design-pattern/prototype-pattern/ 引言 在Java中如果我们想要拷贝一个对象应该怎么做?第一种方法是使用 getter和setter方法一个字段一个字段设置。或者使用 BeanUtils.copyProperties() 方法。这种方式不仅能实现相同类型之间对象的拷贝,…

视频讲解:优化柱状图

你好&#xff0c;我是郭震 AI数据可视化 第三集&#xff1a;美化柱状图&#xff0c;完整视频如下所示&#xff1a; 美化后效果前后对比&#xff0c;前&#xff1a; 后&#xff1a; 附完整案例源码&#xff1a; util.py文件 import platformdef get_os():os_name platform.syst…

java 线程安全介绍

所谓线程安全无非是要控制多个线程对某个资源的有序访问或修改。总结java的内存模型&#xff0c;要解决两个主要的问题&#xff1a;可见性和有序性。 那么&#xff0c;何谓可见性&#xff1f; 多个线程之间是不能互相传递数据通信的&#xff0c;它们之间的沟通只能通过共享变量…

idm下载路径在哪 idm下载保存路径怎么设置 IDM下载器 internetdownloadmanager官方版下载 网络加速器

春节&#xff08;Spring Festival&#xff09;&#xff0c;是中国最隆重最富有特色的传统节日之一。春节期间我们与一家人团聚在一起&#xff0c;其乐融融。2024年春晚已经接近尾声了&#xff0c;很多人已经踏上了返程的路上。在部分地区&#xff0c;如春晚直播过程中或者网络高…

vue中mapState应用场景及代码示例

这篇文章我们讨论 Vue.js 中 mapState 的详细解释、应用场景、示例代码和使用优势。 mapState 详解&#xff1a; mapState 是 Vuex 中的一个辅助函数&#xff0c;用于将状态映射到组件的计算属性或 methods 中。它允许组件更方便地访问和使用 Vuex 存储中的状态。 通过 map…

情人节到了,写一份爱心程序(python)

前言 情人节到了&#xff0c;写一份爱心代码给喜欢的人呀 公式 首先我们介绍下爱心的公式的参数方程&#xff1a; x 16 s i n 3 ( t ) x 16sin^3(t) x16sin3(t) y 13 c o s ( t ) − 5 c o s ( 2 t ) − 2 c o s ( 3 t ) − c o s ( 4 t ) y 13cos(t) - 5cos(2t) - 2co…

B3657 [语言月赛202209] 公园门票

题目描述 小 A 一家人一起来逛公园&#xff0c;门票价目表如下&#xff1a; 小 A 家里共有 x 个成人&#xff0c;y 个儿童&#xff0c;请问至少需要花费多少钱购买门票。 输入格式 共一行&#xff0c;包含两个数字 x 和 y&#xff0c;表示小 A 家里共有 x 名成人&#xff0c…

『 C++ - STL 』位图(BitMap)与布隆过滤器(Bloom Filter)

文章目录 &#x1f9f8; 位图(BitMap)概念&#x1f9f8; 位图的实现&#x1fa85; 总体框架&#x1fa85; 位图的数据插入&#x1f9e9; 左移操作与右移操作的区别 &#x1fa85; 位图的数据删除&#x1fa85; 位图的数据查找&#x1fa85; 位图整体代码(供参考) &#x1f9f8;…

使用Vue.js输出一个hello world

导入vue.js <script src"https://cdn.jsdelivr.net/npm/vue2/dist/vue.js"></script> 创建一个标签 <div id"app">{{message}}</div> 接管标签内容&#xff0c;创建vue实例 <script type"text/javascript">va…

MySQL学习记录——십일 索引

文章目录 1、理解索引2、聚簇、非聚簇索引3、操作1、主键索引2、唯一键索引3、普通索引4、注意事项 4、全文索引 1、理解索引 MySQL服务器是在内存中的&#xff0c;所有数据库的CURD操作都是在内存中进行&#xff0c;索引也是如此。索引是用来提高性能的&#xff0c;它通过组织…

Mysql Day03

多表设计 一对多 在多的一方添加外键约束&#xff0c;关联另外一方主键 一对一 任意一方添加外键约束&#xff0c;关联另外一方主键 多对多 建立第三张中间表&#xff0c;中间表至少包含两个外键&#xff0c;分别关联两方主键 idstu_idcourse_id 1 11 2 12313421524 案…

使用cocos2d-console初始化一个项目

先下载好cocos2d-x的源码包 地址 https://www.cocos.com/cocos2dx-download 这里使用的版本是 自己的电脑要先装好python27 用python安装cocos2d-console 看到项目中有个setup.py的一个文件 python setup.py 用上面的命令执行一下。 如果执行正常的话回出现上面的图 然后…

备战蓝桥杯---图论之最短路Bellman-Ford算法及优化

目录 上次我们讲到复杂度为&#xff08;nm)logm(m为边&#xff0c;n为点&#xff09;的迪杰斯特拉算法&#xff0c;其中有一个明显的不足就是它无法解决包含负权边的图。 于是我们引进Bellman-Ford算法。 核心&#xff1a;枚举所有的点&#xff0c;能松弛就松弛&#xff0c;直…

2.16学习总结

1.邮递员送信&#xff08;dijkstra 不只是从起到到目标点&#xff0c;还要走回去&#xff09; 2.炸铁路(并查集) 3.统计方形&#xff08;数据加强版&#xff09;&#xff08;排列组合&#xff09; 4.滑雪&#xff08;记忆化&#xff09; 5.小车问题&#xff08;数学问题&#x…

枚举,#define,C中程序内存区域划分

目录 一、枚举 1.1枚举类型的声明 1.2枚举类型的优点 1.3枚举类型的使用 二、#define定义常量 三、C中程序内存区域划分 一、枚举 1.1枚举类型的声明 枚举顾名思义就是⼀⼀列举。 把可能的取值⼀⼀列举。 比如我们现实生活中&#xff1a; ⼀周的星期⼀到星期日是有限…